[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh441: Add expl3 debugging to test files (16238760)
PhelypeOleinik
phelype.oleinik at latex-project.org
Fri Dec 18 00:44:09 CET 2020
Repository : https://github.com/latex3/latex2e
On branch : hotfix/gh441
Link : https://github.com/latex3/latex2e/commit/16238760c9c5ecd3eb2afd6c12750df81433a893
>---------------------------------------------------------------
commit 16238760c9c5ecd3eb2afd6c12750df81433a893
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Thu Dec 17 20:44:09 2020 -0300
Add expl3 debugging to test files
>---------------------------------------------------------------
16238760c9c5ecd3eb2afd6c12750df81433a893
base/testfiles-lthooks/filehook-001.lvt | 5 +++++
base/testfiles-lthooks/filehook-001.tlg | 12 ------------
base/testfiles-lthooks/filehook-002.lvt | 5 +++++
base/testfiles-lthooks/filehook-003.lvt | 5 +++++
base/testfiles-lthooks/filehook-003.tlg | 10 ----------
base/testfiles-lthooks/filehook-004.lvt | 5 +++++
base/testfiles-lthooks/filehook-005.lvt | 5 ++++-
base/testfiles-lthooks/filehook-005.tlg | 10 ----------
base/testfiles-lthooks/filehook-006.lvt | 4 ++++
base/testfiles-lthooks/filehook-006.tlg | 10 ----------
base/testfiles-lthooks/filehook-007.lvt | 5 +++++
base/testfiles-lthooks/filehook-008.lvt | 4 ++++
base/testfiles-lthooks/filehook-009.lvt | 5 +++++
base/testfiles-lthooks/filehook-010.lvt | 5 ++++-
base/testfiles-lthooks/filehook-011.lvt | 5 ++++-
base/testfiles-lthooks/filehook-012.lvt | 4 ++++
base/testfiles-lthooks/filehook-bug-140.lvt | 5 +++++
base/testfiles-lthooks/github-0379.lvt | 5 +++++
base/testfiles-lthooks/github-0387.lvt | 4 ++++
base/testfiles-lthooks/github-0401.lvt | 5 +++++
base/testfiles-lthooks/lthooks-026.lvt | 4 ++++
base/testfiles-lthooks/lthooks-026.tlg | 10 ----------
base/testfiles-lthooks/lthooks-027.lvt | 5 +++++
base/testfiles-lthooks/lthooks-028.lvt | 5 +++++
base/testfiles-lthooks/lthooks-etoolbox.lvt | 4 ++++
base/testfiles-lthooks/lthooks-legacy.lvt | 4 ++++
base/testfiles-lthooks/lthooks-legacy.tlg | 23 ++++++-----------------
base/testfiles-lthooks/shipout-006.lvt | 5 +++++
base/testfiles-lthooks2/github-0360.lvt | 5 +++++
base/testfiles-lthooks2/lthooks2-004.lvt | 5 +++++
base/testfiles-lthooks2/lthooks2-005.lvt | 5 +++++
base/testfiles-lthooks2/lthooks2-005.tlg | 12 ++++++++++++
base/testfiles-lthooks2/lthooks2-006.lvt | 5 +++++
base/testfiles-lthooks2/shipout2-007.lvt | 4 ++++
base/testfiles-lthooks2/shipout2-emulations.lvt | 3 +++
35 files changed, 145 insertions(+), 72 deletions(-)
diff --git a/base/testfiles-lthooks/filehook-001.lvt b/base/testfiles-lthooks/filehook-001.lvt
index 58ec9735..83323e15 100644
--- a/base/testfiles-lthooks/filehook-001.lvt
+++ b/base/testfiles-lthooks/filehook-001.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
% like filehook-ext but testing new implementation
\input{regression-test}
diff --git a/base/testfiles-lthooks/filehook-001.tlg b/base/testfiles-lthooks/filehook-001.tlg
index 4516877d..58b81d20 100644
--- a/base/testfiles-lthooks/filehook-001.tlg
+++ b/base/testfiles-lthooks/filehook-001.tlg
@@ -50,18 +50,6 @@ filehook-001 package
LaTeX's end of package hook
\AtEndOfPackageFile{filehook-001-pkg} - code (for filehook-001-pkg.sty)
---------------- \begin{document} ------------
-\AtBeginOfEveryFile - code (for l3backend-dvips.def)
-(../l3backend-dvips.def
-File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
-\l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
-\l__pdf_backend_content_box=\box...
-\l__pdf_backend_model_box=\box...
-\g__pdf_backend_annotation_int=\count...
-\g__pdf_backend_link_int=\count...
-\g__pdf_backend_link_sf_int=\count...
-)
-\AtEndOfEveryFile - code (for l3backend-dvips.def)
No file filehook-001.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
LaTeX Font Info: ... okay on input line ....
diff --git a/base/testfiles-lthooks/filehook-002.lvt b/base/testfiles-lthooks/filehook-002.lvt
index 73a90d0f..43d1754e 100644
--- a/base/testfiles-lthooks/filehook-002.lvt
+++ b/base/testfiles-lthooks/filehook-002.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
% like filehook-ext but testing new implementation
\input{regression-test}
diff --git a/base/testfiles-lthooks/filehook-003.lvt b/base/testfiles-lthooks/filehook-003.lvt
index dc5fe71f..fba909b7 100644
--- a/base/testfiles-lthooks/filehook-003.lvt
+++ b/base/testfiles-lthooks/filehook-003.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
% like filehook-ext but testing new implementation
\input{regression-test}
diff --git a/base/testfiles-lthooks/filehook-003.tlg b/base/testfiles-lthooks/filehook-003.tlg
index b45ee6bc..a64b8732 100644
--- a/base/testfiles-lthooks/filehook-003.tlg
+++ b/base/testfiles-lthooks/filehook-003.tlg
@@ -17,16 +17,6 @@ File: size10.clo ....-..-.. v... Standard LaTeX file (size option)
\belowcaptionskip=\skip...
\bibindent=\dimen...
)
-(../l3backend-dvips.def
-File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
-\l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
-\l__pdf_backend_content_box=\box...
-\l__pdf_backend_model_box=\box...
-\g__pdf_backend_annotation_int=\count...
-\g__pdf_backend_link_int=\count...
-\g__pdf_backend_link_sf_int=\count...
-)
No file filehook-003.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
LaTeX Font Info: ... okay on input line ....
diff --git a/base/testfiles-lthooks/filehook-004.lvt b/base/testfiles-lthooks/filehook-004.lvt
index 752b2df5..917e3b0b 100644
--- a/base/testfiles-lthooks/filehook-004.lvt
+++ b/base/testfiles-lthooks/filehook-004.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
% testing the .tex extension
\input{regression-test}
diff --git a/base/testfiles-lthooks/filehook-005.lvt b/base/testfiles-lthooks/filehook-005.lvt
index 4bf5463a..325b4f17 100644
--- a/base/testfiles-lthooks/filehook-005.lvt
+++ b/base/testfiles-lthooks/filehook-005.lvt
@@ -1,4 +1,7 @@
-
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\documentclass{article}
diff --git a/base/testfiles-lthooks/filehook-005.tlg b/base/testfiles-lthooks/filehook-005.tlg
index 327e31f3..ad1f829d 100644
--- a/base/testfiles-lthooks/filehook-005.tlg
+++ b/base/testfiles-lthooks/filehook-005.tlg
@@ -1,15 +1,5 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
-(../l3backend-dvips.def
-File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
-\l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
-\l__pdf_backend_content_box=\box...
-\l__pdf_backend_model_box=\box...
-\g__pdf_backend_annotation_int=\count...
-\g__pdf_backend_link_int=\count...
-\g__pdf_backend_link_sf_int=\count...
-)
No file filehook-005.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
LaTeX Font Info: ... okay on input line ....
diff --git a/base/testfiles-lthooks/filehook-006.lvt b/base/testfiles-lthooks/filehook-006.lvt
index baec676e..af6251e6 100644
--- a/base/testfiles-lthooks/filehook-006.lvt
+++ b/base/testfiles-lthooks/filehook-006.lvt
@@ -1,3 +1,7 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\documentclass{article}
diff --git a/base/testfiles-lthooks/filehook-006.tlg b/base/testfiles-lthooks/filehook-006.tlg
index eb9dbb90..bd77ea95 100644
--- a/base/testfiles-lthooks/filehook-006.tlg
+++ b/base/testfiles-lthooks/filehook-006.tlg
@@ -45,16 +45,6 @@ Inside top-level (after):
File:
Path:
===============
-(../l3backend-dvips.def
-File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
-\l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
-\l__pdf_backend_content_box=\box...
-\l__pdf_backend_model_box=\box...
-\g__pdf_backend_annotation_int=\count...
-\g__pdf_backend_link_int=\count...
-\g__pdf_backend_link_sf_int=\count...
-)
No file filehook-006.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
LaTeX Font Info: ... okay on input line ....
diff --git a/base/testfiles-lthooks/filehook-007.lvt b/base/testfiles-lthooks/filehook-007.lvt
index 6fe7f7b0..669412c0 100644
--- a/base/testfiles-lthooks/filehook-007.lvt
+++ b/base/testfiles-lthooks/filehook-007.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\documentclass{article}
\input{regression-test}
diff --git a/base/testfiles-lthooks/filehook-008.lvt b/base/testfiles-lthooks/filehook-008.lvt
index 6009123b..e988ef02 100644
--- a/base/testfiles-lthooks/filehook-008.lvt
+++ b/base/testfiles-lthooks/filehook-008.lvt
@@ -1,3 +1,7 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\documentclass{article}
diff --git a/base/testfiles-lthooks/filehook-009.lvt b/base/testfiles-lthooks/filehook-009.lvt
index be0705d2..f0b36716 100644
--- a/base/testfiles-lthooks/filehook-009.lvt
+++ b/base/testfiles-lthooks/filehook-009.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\documentclass[12pt,unknown,opt]{article}
\begin{filecontents}[overwrite]{load-structuredlog.sty}
diff --git a/base/testfiles-lthooks/filehook-010.lvt b/base/testfiles-lthooks/filehook-010.lvt
index ef1bdf2e..0f026f74 100644
--- a/base/testfiles-lthooks/filehook-010.lvt
+++ b/base/testfiles-lthooks/filehook-010.lvt
@@ -1,4 +1,7 @@
-
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\makeatletter
\let\texread\read
diff --git a/base/testfiles-lthooks/filehook-011.lvt b/base/testfiles-lthooks/filehook-011.lvt
index f179f279..41aaf3c7 100644
--- a/base/testfiles-lthooks/filehook-011.lvt
+++ b/base/testfiles-lthooks/filehook-011.lvt
@@ -1,4 +1,7 @@
-
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\begin{filecontents}[overwrite]{hbox.sty}
\def\blub{opt unused}
diff --git a/base/testfiles-lthooks/filehook-012.lvt b/base/testfiles-lthooks/filehook-012.lvt
index 86b191a3..05183d76 100644
--- a/base/testfiles-lthooks/filehook-012.lvt
+++ b/base/testfiles-lthooks/filehook-012.lvt
@@ -1,3 +1,7 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\expandafter\def\csname
ver at pkg-not-installed.sty\endcsname{Already loaded}
diff --git a/base/testfiles-lthooks/filehook-bug-140.lvt b/base/testfiles-lthooks/filehook-bug-140.lvt
index e7af1a88..ecdffee0 100644
--- a/base/testfiles-lthooks/filehook-bug-140.lvt
+++ b/base/testfiles-lthooks/filehook-bug-140.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\documentclass{article}
\input{regression-test}
diff --git a/base/testfiles-lthooks/github-0379.lvt b/base/testfiles-lthooks/github-0379.lvt
index 09393dd5..f660eea0 100644
--- a/base/testfiles-lthooks/github-0379.lvt
+++ b/base/testfiles-lthooks/github-0379.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\makeatletter
\def\@reset at ptions{%
\global\ifx\@currext\@clsextension
diff --git a/base/testfiles-lthooks/github-0387.lvt b/base/testfiles-lthooks/github-0387.lvt
index 73288865..f2c17227 100644
--- a/base/testfiles-lthooks/github-0387.lvt
+++ b/base/testfiles-lthooks/github-0387.lvt
@@ -1,3 +1,7 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\documentclass{book}
\usepackage{atbegshi}
diff --git a/base/testfiles-lthooks/github-0401.lvt b/base/testfiles-lthooks/github-0401.lvt
index e1e095f5..c9e37b66 100644
--- a/base/testfiles-lthooks/github-0401.lvt
+++ b/base/testfiles-lthooks/github-0401.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\documentclass{article}
\RequirePackage[0000/00/00]{latexrelease}
diff --git a/base/testfiles-lthooks/lthooks-026.lvt b/base/testfiles-lthooks/lthooks-026.lvt
index f923441e..a623b0f1 100644
--- a/base/testfiles-lthooks/lthooks-026.lvt
+++ b/base/testfiles-lthooks/lthooks-026.lvt
@@ -1,3 +1,7 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\documentclass{article}
diff --git a/base/testfiles-lthooks/lthooks-026.tlg b/base/testfiles-lthooks/lthooks-026.tlg
index 06b5faea..060b4675 100644
--- a/base/testfiles-lthooks/lthooks-026.tlg
+++ b/base/testfiles-lthooks/lthooks-026.tlg
@@ -11,16 +11,6 @@ Don't change this file in any respect.
> ---
> Execution order:
> bar.
-(../l3backend-dvips.def
-File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
-\l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
-\l__pdf_backend_content_box=\box...
-\l__pdf_backend_model_box=\box...
-\g__pdf_backend_annotation_int=\count...
-\g__pdf_backend_link_int=\count...
-\g__pdf_backend_link_sf_int=\count...
-)
No file lthooks-026.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
LaTeX Font Info: ... okay on input line ....
diff --git a/base/testfiles-lthooks/lthooks-027.lvt b/base/testfiles-lthooks/lthooks-027.lvt
index eed7c641..bf6dcae3 100644
--- a/base/testfiles-lthooks/lthooks-027.lvt
+++ b/base/testfiles-lthooks/lthooks-027.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\documentclass{article}
\usepackage{expl3}
diff --git a/base/testfiles-lthooks/lthooks-028.lvt b/base/testfiles-lthooks/lthooks-028.lvt
index 318ad027..d29cbf7b 100644
--- a/base/testfiles-lthooks/lthooks-028.lvt
+++ b/base/testfiles-lthooks/lthooks-028.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\input{regression-test}
\documentclass{article}
diff --git a/base/testfiles-lthooks/lthooks-etoolbox.lvt b/base/testfiles-lthooks/lthooks-etoolbox.lvt
index 8b0c7da8..37cb63c6 100644
--- a/base/testfiles-lthooks/lthooks-etoolbox.lvt
+++ b/base/testfiles-lthooks/lthooks-etoolbox.lvt
@@ -1,3 +1,7 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\documentclass{article}
diff --git a/base/testfiles-lthooks/lthooks-legacy.lvt b/base/testfiles-lthooks/lthooks-legacy.lvt
index 1569fd1d..5883fc0e 100644
--- a/base/testfiles-lthooks/lthooks-legacy.lvt
+++ b/base/testfiles-lthooks/lthooks-legacy.lvt
@@ -1,3 +1,7 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\documentclass{article}
diff --git a/base/testfiles-lthooks/lthooks-legacy.tlg b/base/testfiles-lthooks/lthooks-legacy.tlg
index 2b721d9c..4b67760b 100644
--- a/base/testfiles-lthooks/lthooks-legacy.tlg
+++ b/base/testfiles-lthooks/lthooks-legacy.tlg
@@ -59,6 +59,11 @@ Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
Update code for hook 'shipout/firstpage' on input line ...:
+Code labels for sorting:
+ l3backend-dvips
+Data structure for label rules:
+ l3backend-dvips = 0 ->
+Handled code for l3backend-dvips
Update code for hook 'shipout/lastpage' on input line ...:
Update code for hook 'file/after/biditools.sty' on input line ...:
Code labels for sorting:
@@ -91,28 +96,12 @@ All initialized (non-empty) hooks:
ttfamily -> \typeout {legacy ttfamily\on at line }\__hook_toplevel ttfamily \__hook_next ttfamily
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
+ shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
file/after/pgfpages.sty -> \__hook_toplevel file/after/pgfpages.sty \cs_gset_eq:NN \shipout \pgfpages at originalshipout \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout \__hook_next file/after/pgfpages.sty
file/after/pgfmorepages.sty -> \__hook_toplevel file/after/pgfmorepages.sty \cs_gset_eq:NN \shipout \pgfpages at originalshipout \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout \__hook_next file/after/pgfmorepages.sty
legacy defaultfamily on input line ...
-(../l3backend-dvips.def
-File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
-**** Add to hook shipout/firstpage (l3backend-dvips) on input line ... <- \__kernel_backend_literal:n {header=l3backend-dvips.pro}
-Update code for hook 'shipout/firstpage' on input line ...:
-Code labels for sorting:
- l3backend-dvips
-Data structure for label rules:
- l3backend-dvips = 0 ->
-Handled code for l3backend-dvips
-\l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
-\l__pdf_backend_content_box=\box...
-\l__pdf_backend_model_box=\box...
-\g__pdf_backend_annotation_int=\count...
-\g__pdf_backend_link_int=\count...
-\g__pdf_backend_link_sf_int=\count...
-)
No file lthooks-legacy.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line ....
LaTeX Font Info: ... okay on input line ....
diff --git a/base/testfiles-lthooks/shipout-006.lvt b/base/testfiles-lthooks/shipout-006.lvt
index 0d999aa6..cc2dec49 100644
--- a/base/testfiles-lthooks/shipout-006.lvt
+++ b/base/testfiles-lthooks/shipout-006.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
% gh #152
\documentclass{article}
diff --git a/base/testfiles-lthooks2/github-0360.lvt b/base/testfiles-lthooks2/github-0360.lvt
index 2c45a740..17d4ef0a 100644
--- a/base/testfiles-lthooks2/github-0360.lvt
+++ b/base/testfiles-lthooks2/github-0360.lvt
@@ -1,3 +1,8 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\documentclass{article}
% Line breaking woes. Force backend loading here to avoid
% differences between local and Travis:
diff --git a/base/testfiles-lthooks2/lthooks2-004.lvt b/base/testfiles-lthooks2/lthooks2-004.lvt
index 0cab8eb5..c12a5874 100644
--- a/base/testfiles-lthooks2/lthooks2-004.lvt
+++ b/base/testfiles-lthooks2/lthooks2-004.lvt
@@ -1,5 +1,10 @@
% Testing \hook_if_empty:n(TF) and \hook_if_exist:n(TF)
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\documentclass{article}
\input{regression-test}
diff --git a/base/testfiles-lthooks2/lthooks2-005.lvt b/base/testfiles-lthooks2/lthooks2-005.lvt
index 65a04b2e..9c3b94a8 100644
--- a/base/testfiles-lthooks2/lthooks2-005.lvt
+++ b/base/testfiles-lthooks2/lthooks2-005.lvt
@@ -1,5 +1,10 @@
% Testing adding code to undeclared hooks
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\documentclass{article}
\input{regression-test}
diff --git a/base/testfiles-lthooks2/lthooks2-005.tlg b/base/testfiles-lthooks2/lthooks2-005.tlg
index ee560492..57d927c2 100644
--- a/base/testfiles-lthooks2/lthooks2-005.tlg
+++ b/base/testfiles-lthooks2/lthooks2-005.tlg
@@ -35,6 +35,11 @@ Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
Update code for hook 'shipout/firstpage' on input line ...:
+Code labels for sorting:
+ l3backend-dvips
+Data structure for label rules:
+ l3backend-dvips = 0 ->
+Handled code for l3backend-dvips
Update code for hook 'shipout/lastpage' on input line ...:
Update code for hook 'file/after/biditools.sty' on input line ...:
Code labels for sorting:
@@ -63,6 +68,7 @@ Handled code for firstaid
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
+ shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
file/after/pgfpages.sty -> \__hook_toplevel file/after/pgfpages.sty \cs_gset_eq:NN \shipout \pgfpages at originalshipout \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout \__hook_next file/after/pgfpages.sty
@@ -102,6 +108,11 @@ Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
Update code for hook 'shipout/firstpage' on input line ...:
+Code labels for sorting:
+ l3backend-dvips
+Data structure for label rules:
+ l3backend-dvips = 0 ->
+Handled code for l3backend-dvips
Update code for hook 'shipout/lastpage' on input line ...:
Update code for hook 'file/after/biditools.sty' on input line ...:
Code labels for sorting:
@@ -138,6 +149,7 @@ Handled code for other-package
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
+ shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
file/after/pgfpages.sty -> \__hook_toplevel file/after/pgfpages.sty \cs_gset_eq:NN \shipout \pgfpages at originalshipout \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout \__hook_next file/after/pgfpages.sty
diff --git a/base/testfiles-lthooks2/lthooks2-006.lvt b/base/testfiles-lthooks2/lthooks2-006.lvt
index 3282a6bd..d3f6108e 100644
--- a/base/testfiles-lthooks2/lthooks2-006.lvt
+++ b/base/testfiles-lthooks2/lthooks2-006.lvt
@@ -1,5 +1,10 @@
% Testing adding and removing code from hooks in different orders
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
\documentclass{article}
\input{regression-test}
diff --git a/base/testfiles-lthooks2/shipout2-007.lvt b/base/testfiles-lthooks2/shipout2-007.lvt
index 6a4fb243..2b8dc0cd 100644
--- a/base/testfiles-lthooks2/shipout2-007.lvt
+++ b/base/testfiles-lthooks2/shipout2-007.lvt
@@ -1,3 +1,7 @@
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\documentclass{article}
diff --git a/base/testfiles-lthooks2/shipout2-emulations.lvt b/base/testfiles-lthooks2/shipout2-emulations.lvt
index 2a64b9a5..b3dfd6cf 100644
--- a/base/testfiles-lthooks2/shipout2-emulations.lvt
+++ b/base/testfiles-lthooks2/shipout2-emulations.lvt
@@ -1,6 +1,9 @@
% testing atbegshi etc emulation
\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\documentclass{article}
More information about the latex3-commits
mailing list.