[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Fix FIXMEs in ltcmd-rollback test file (cabc5df5)

PhelypeOleinik phelype.oleinik at latex-project.org
Mon Mar 22 01:47:16 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/cabc5df5ae40089fa567d24bdac8a3170b3958bc

>---------------------------------------------------------------

commit cabc5df5ae40089fa567d24bdac8a3170b3958bc
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sun Mar 21 21:47:16 2021 -0300

    Fix FIXMEs in ltcmd-rollback test file
    
    Good think I kept this file around...


>---------------------------------------------------------------

cabc5df5ae40089fa567d24bdac8a3170b3958bc
 base/testfiles-disabled/ltcmd-latexrelease.lvt | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/base/testfiles-disabled/ltcmd-latexrelease.lvt b/base/testfiles-disabled/ltcmd-latexrelease.lvt
index d65f7b94..ca484076 100644
--- a/base/testfiles-disabled/ltcmd-latexrelease.lvt
+++ b/base/testfiles-disabled/ltcmd-latexrelease.lvt
@@ -27,12 +27,12 @@ to install it in my local TeX tree, then
     mktexlsr
 to regenerate the filename database for the local
 tree, if some file some file changed, and finally
-    mktexfmt pdflatex.fmt
+    mktexfmt pdflatex-dev.fmt
 (I didn't care to test the other engines for this
 change) to build a local format to start the fun!
 
 Then in the test file I changed the number in the
-ifcase line for each corresponding test.  The log
+testno line for each corresponding test.  The log
 output varies between (hello//world) if xparse is
 loaded, and [hello//world] if it is not but other
 than that it should throw some error if something
@@ -42,7 +42,10 @@ Good luck!
 
 \fi
 
-\ifcase 15
+\def\testno{15}
+
+\typeout{Running test \testno}
+\ifcase\testno\relax
 %
 % git checkout release-2020-02-02-PL5
 %
@@ -50,17 +53,13 @@ Good luck!
 \RequirePackage{xparse}
 \or % 02
 \RequirePackage[2020-10-01]{latexrelease}
-\PopDefaultHookLabel %%%%% FIXME
 \or % 03
 \RequirePackage[2020-10-01]{latexrelease}
-\PopDefaultHookLabel %%%%% FIXME
 \RequirePackage{xparse}
 \or % 04
 \RequirePackage[2021-05-01]{latexrelease}
-\PopDefaultHookLabel %%%%% FIXME
 \or % 05
 \RequirePackage[2021-05-01]{latexrelease}
-\PopDefaultHookLabel %%%%% FIXME
 \RequirePackage{xparse}
 %
 % git checkout release-2020-10-01-PL4
@@ -88,15 +87,8 @@ Good luck!
 \RequirePackage[2020-02-02]{latexrelease}
 \RequirePackage{xparse}
 \or % 14
-\BROKEN: can't rollback lthooks
-\PushDefaultHookLabel{foo}
 \RequirePackage[2020-10-01]{latexrelease}
 \or % 15
-\BROKEN: can't rollback lthooks
-\PushDefaultHookLabel{foo}
-\PushDefaultHookLabel{foo}
-\PushDefaultHookLabel{foo}
-\PushDefaultHookLabel{foo}
 \RequirePackage[2020-10-01]{latexrelease}
 \RequirePackage{xparse}
 \else \INVALID





More information about the latex3-commits mailing list.