Comments (9)
@davidcarlisle latex3/latex2e#944
from l3build.
It seems I had a local version of regression-test.tex still in the path ... thanks for checking
from l3build.
If you are dropping the hook, for 2e that would be done 'locally' (in test2e
): is that what you mean?
from l3build.
yes test2e.tex and regression-test.tex I think, maybe guarded to do it only if running on top of the LaTeX kernel in case of regression-test.tex
from l3build.
I came across it when rerunning the test for footmisc which has tests that include \end{document}
and uses regression-test.tex
.
from l3build.
why did we add this to the log?
from l3build.
@davidcarlisle Karl asked us, I think - it was because it can get lost at the start, depending on how you start your TeX run
from l3build.
In resolving latex3/latex2e#944, some code (also pasted below) which ignores the added log lines, is added (see latex3/latex2e#950) to latex2e's own regression-test.tex
. Maybe it's time to move it to (or, duplicate it in, because the one in latex2e will keep existing) l3build's regression-test.tex
, the "source".
%%% this needs to be moved to the source of regression-test.tex!
\ifx\AddToHook\undefined
\else
%
% We don't want release information showing up in \end{document}
% because that would change over and over again.
% We therefore drop that information from the hook (should also
% happen in the standard regression test when running a LaTeX
% format). By using a voids relation we can reactivate the code in
% a test by dropping "the testmode" label.
%
\AddToHook{enddocument/info}[kernel/testmode]{}
\DeclareHookRule{enddocument/info}{kernel/testmode}{voids}{kernel/release}
\fi
Update: Wait a minute. Looks like such code is already added, see 07ce1dd which closed #255. Then why the log lines are not suppressed?
from l3build.
I came across it when rerunning the test for footmisc which has tests that include
\end{document}
and usesregression-test.tex
.
Update: Wait a minute. Looks like such code is already added, see 07ce1dd which closed #255. Then why the log lines are not suppressed?
I cloned footmisc
repo and checked out commit just prior to commit FrankMittelbach/fmitex-footmisc@fac18b7 (drop kernel info in tests, 2023-07-05), ran l3build check
and finally can't reproduce the problem. LaTeX kernel date written to log at the end of document were automatically suppressed.
$ git clone --depth=1 [email protected]:FrankMittelbach/fmitex-footmisc.git ltx-pkg-footmisc
$ cd ltx-pkg-footmist
$ git fetch --depth=1 origin 7a79984
$ git switch --detach 7a79984
$ l3build check
I did get two failed tests, but none of the cause is related to the added LaTeX kernel date. It seems the difference for github-001.pdftex.diff
came from different versions of lipsum
package.
Check failed with difference files
- ./build/test/github-001.pdftex.diff
- ./build/test/github-010.pdftex.diff
from l3build.
Related Issues (20)
- Outdated comments in `testfiles/support/regression-test.cfg`
- Are variables `os_cmpexe` and `os_cmpext` still in use? HOT 1
- Normalize `luaotfload | db : Font names database loaded from <path>` lines? HOT 1
- Refine error mesasage "attempt to index a nil value" HOT 4
- Ideas about splitting slow `l3build check/doc` into smaller even runs HOT 4
- small improvements for -S switch HOT 13
- Remove shebang in build.lua HOT 3
- Documentation typo HOT 4
- Could `l3build check` only test if the compilation is successful HOT 11
- Copyright: update manually or automatically by `update_tag()`? HOT 2
- Recent change seems to have rendered documented way to call `biber` not working HOT 16
- l3build fails for unknown reasons HOT 3
- How to copy `docfiles` with directory structure respected? HOT 1
- Non-zero exit code caused by lots of `\showbox`
- Updating `man l3build` HOT 7
- Output on failure does not help
- Check with `stdengine` only HOT 2
- Sync up documented log normalization rules HOT 3
- Output normalization hook
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from l3build.