[latex3-commits] [latex3/pdfresources] remove-ltxcmds: unify debug options (7970871)

github at latex-project.org github at latex-project.org
Tue Nov 14 13:56:11 CET 2023


Repository : https://github.com/latex3/pdfresources
On branch  : remove-ltxcmds
Link       : https://github.com/latex3/pdfresources/commit/797087169119d63e972f3a050ec486d2bf390dab

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

commit 797087169119d63e972f3a050ec486d2bf390dab
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Nov 14 13:56:11 2023 +0100

    unify debug options


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

797087169119d63e972f3a050ec486d2bf390dab
 testfiles/active-colon.pvt                        | 4 ++++
 testfiles/annot-dict.pvt                          | 5 ++++-
 testfiles/annot-last.lvt                          | 4 ++++
 testfiles/annot.pvt                               | 5 ++++-
 testfiles/ap-names.pvt                            | 5 ++++-
 testfiles/bdc-properties.pvt                      | 6 ++++--
 testfiles/bdc-shipout-log.lvt                     | 6 +++++-
 testfiles/bdc-shipout.pvt                         | 6 +++++-
 testfiles/catalog-remove.lvt                      | 5 ++++-
 testfiles/checkbox.pvt                            | 7 +++++--
 testfiles/colorpatch.lvt                          | 5 ++++-
 testfiles/colorprofile-standard.pvt               | 6 ++++--
 testfiles/colorprofile1.pvt                       | 7 ++++---
 testfiles/destination-options.pvt                 | 6 ++++--
 testfiles/dict_if_empty.lvt                       | 6 ++++--
 testfiles/disable-links.pvt                       | 5 ++++-
 testfiles/documentmetadata-support-000.luatex.tlg | 8 +++++++-
 testfiles/documentmetadata-support-000.lvt        | 4 +---
 testfiles/documentmetadata-support-000.tlg        | 6 +++++-
 testfiles/documentmetadata-support-000.xetex.tlg  | 9 ++++++++-
 testfiles/embedfile.pvt                           | 5 ++++-
 testfiles/embedstream.pvt                         | 4 ++++
 testfiles/formfield-old.pvt                       | 6 ++++--
 testfiles/formtextfields.pvt                      | 6 ++++--
 testfiles/infodict-new.pvt                        | 6 ++++--
 testfiles/infodict.pvt                            | 5 ++++-
 testfiles/ismap.pvt                               | 6 ++++--
 testfiles/linkbordercolor.pvt                     | 5 ++++-
 testfiles/linkmargin.pvt                          | 7 +++++--
 testfiles/linktoc.pvt                             | 6 ++++--
 testfiles/metadata-new-no-hyperref.pvt            | 4 ++++
 testfiles/metadata-new.pvt                        | 5 ++++-
 testfiles/mixpageattr.pvt                         | 6 ++++--
 testfiles/ocgcolorlinks.pvt                       | 5 ++++-
 testfiles/ocproperties.pvt                        | 6 ++++--
 testfiles/pageattr.pvt                            | 5 ++++-
 testfiles/pagelabels-log.lvt                      | 6 ++++--
 testfiles/pagelabels.pvt                          | 5 ++++-
 testfiles/pagesattr.pvt                           | 5 ++++-
 testfiles/pdf_pageobject_ref.lvt                  | 6 ++++--
 testfiles/pdffilelink.pvt                         | 5 ++++-
 testfiles/pdflscape.pvt                           | 5 ++++-
 testfiles/pgfpatches.pvt                          | 5 ++++-
 testfiles/radiobuttons.pvt                        | 5 ++++-
 testfiles/show.lvt                                | 6 ++++--
 testfiles/tag-checkbox.pvt                        | 6 ++++--
 testfiles/test-pdfA-4.lvt                         | 6 +++++-
 testfiles/text-convert.lvt                        | 6 ++++--
 testfiles/textfield.pvt                           | 6 ++++--
 testfiles/thispageattr.pvt                        | 6 ++++--
 testfiles/transition.pvt                          | 6 ++++--
 testfiles/u-standard.lvt                          | 6 ++++--
 testfiles/version-compare.lvt                     | 6 ++++--
 testfiles/viewerpreferences.pvt                   | 6 ++++--
 testfiles/xcolorpatch-svgnames.lvt                | 5 ++++-
 testfiles/xcolorpatch.lvt                         | 5 ++++-
 testfiles/xform-appearance.pvt                    | 8 +++++---
 testfiles/xform-preamble.pvt                      | 6 ++++--
 testfiles/xform.pvt                               | 6 ++++--
 59 files changed, 247 insertions(+), 87 deletions(-)

diff --git a/testfiles/active-colon.pvt b/testfiles/active-colon.pvt
index 5428e92..c4825ba 100644
--- a/testfiles/active-colon.pvt
+++ b/testfiles/active-colon.pvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/annot-dict.pvt b/testfiles/annot-dict.pvt
index be29694..b36f01a 100644
--- a/testfiles/annot-dict.pvt
+++ b/testfiles/annot-dict.pvt
@@ -1,4 +1,7 @@
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/annot-last.lvt b/testfiles/annot-last.lvt
index 666844e..95d8162 100644
--- a/testfiles/annot-last.lvt
+++ b/testfiles/annot-last.lvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/annot.pvt b/testfiles/annot.pvt
index 1d8241d..c15bcdc 100644
--- a/testfiles/annot.pvt
+++ b/testfiles/annot.pvt
@@ -1,4 +1,7 @@
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/ap-names.pvt b/testfiles/ap-names.pvt
index e4dae62..b1a5297 100644
--- a/testfiles/ap-names.pvt
+++ b/testfiles/ap-names.pvt
@@ -1,4 +1,7 @@
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/bdc-properties.pvt b/testfiles/bdc-properties.pvt
index 8beaec5..2d2fa0a 100644
--- a/testfiles/bdc-properties.pvt
+++ b/testfiles/bdc-properties.pvt
@@ -1,5 +1,7 @@
-
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {}
 \input{regression-test}
 
diff --git a/testfiles/bdc-shipout-log.lvt b/testfiles/bdc-shipout-log.lvt
index 34e3607..1ffa623 100644
--- a/testfiles/bdc-shipout-log.lvt
+++ b/testfiles/bdc-shipout-log.lvt
@@ -1,4 +1,8 @@
-\DocumentMetadata{uncompress,xmp=false} 
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
+\DocumentMetadata{xmp=false} 
 \input{regression-test}
 \documentclass{book}%
 
diff --git a/testfiles/bdc-shipout.pvt b/testfiles/bdc-shipout.pvt
index ffbe046..2867645 100644
--- a/testfiles/bdc-shipout.pvt
+++ b/testfiles/bdc-shipout.pvt
@@ -1,4 +1,8 @@
-\DocumentMetadata{uncompress,xmp=false} 
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
+\DocumentMetadata{xmp=false} 
 \input{regression-test}
 \documentclass{book}%
 
diff --git a/testfiles/catalog-remove.lvt b/testfiles/catalog-remove.lvt
index 3f76ed6..49d955d 100644
--- a/testfiles/catalog-remove.lvt
+++ b/testfiles/catalog-remove.lvt
@@ -1,4 +1,7 @@
-\RequirePackage{pdfmanagement-testphase}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/checkbox.pvt b/testfiles/checkbox.pvt
index 1f98ed4..431912c 100644
--- a/testfiles/checkbox.pvt
+++ b/testfiles/checkbox.pvt
@@ -1,6 +1,9 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
-
-\DocumentMetadata{uncompress}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
+\DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
 
diff --git a/testfiles/colorpatch.lvt b/testfiles/colorpatch.lvt
index 736133b..7f9537b 100644
--- a/testfiles/colorpatch.lvt
+++ b/testfiles/colorpatch.lvt
@@ -1,4 +1,7 @@
-\RequirePackage{pdfmanagement-testphase}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/colorprofile-standard.pvt b/testfiles/colorprofile-standard.pvt
index 007b443..ba22580 100644
--- a/testfiles/colorprofile-standard.pvt
+++ b/testfiles/colorprofile-standard.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  {
    testphase=new-or-1,
diff --git a/testfiles/colorprofile1.pvt b/testfiles/colorprofile1.pvt
index f3c0d96..11205c3 100644
--- a/testfiles/colorprofile1.pvt
+++ b/testfiles/colorprofile1.pvt
@@ -1,6 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  {
    testphase=new-or-1,
diff --git a/testfiles/destination-options.pvt b/testfiles/destination-options.pvt
index 0ee8b59..8fd6e06 100644
--- a/testfiles/destination-options.pvt
+++ b/testfiles/destination-options.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/dict_if_empty.lvt b/testfiles/dict_if_empty.lvt
index 7f2b0d5..3421ed2 100644
--- a/testfiles/dict_if_empty.lvt
+++ b/testfiles/dict_if_empty.lvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/disable-links.pvt b/testfiles/disable-links.pvt
index 56e48b1..56a1ef8 100644
--- a/testfiles/disable-links.pvt
+++ b/testfiles/disable-links.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {}
 \input{regression-test}
 
diff --git a/testfiles/documentmetadata-support-000.luatex.tlg b/testfiles/documentmetadata-support-000.luatex.tlg
index 1b3bb02..6f46588 100644
--- a/testfiles/documentmetadata-support-000.luatex.tlg
+++ b/testfiles/documentmetadata-support-000.luatex.tlg
@@ -15,7 +15,13 @@ Package: l3bitset ....-..-.. L3 Experimental bitset support
 \l__bitset_internal_int=\count...
 )
 \l__pdfmeta_xmp_indent_int=\count...
-))) (l3backend-testphase-luatex.def
+))) (../l3backend-luatex.def
+File: l3backend-luatex.def ....-..-.. L3 backend support: PDF output (LuaTeX)
+\l__color_backend_stack_int=\count...
+Inserting `l3color' in `luaotfload.parse_color'.
+Inserting `l3opacity' in `luaotfload.parse_transparent'.
+\l__pdf_internal_box=\box...
+) (l3backend-testphase-luatex.def
 File: l3backend-testphase-luatex.def ....-..-.. LaTeX PDF management testphase bundle backend support:PDFoutput(LuaTeX)
 \l__pdf_backend_tmpa_box=\box...
 \l__pdf_backend_tmpb_box=\box...
diff --git a/testfiles/documentmetadata-support-000.lvt b/testfiles/documentmetadata-support-000.lvt
index 761eb67..ac6cbce 100644
--- a/testfiles/documentmetadata-support-000.lvt
+++ b/testfiles/documentmetadata-support-000.lvt
@@ -1,8 +1,6 @@
 \input{regression-test}
-
-\RequirePackage[enable-debug,check-declarations]{expl3}
 \ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation }
 \ExplSyntaxOff
 
 \START
diff --git a/testfiles/documentmetadata-support-000.tlg b/testfiles/documentmetadata-support-000.tlg
index bffb4c4..61b626a 100644
--- a/testfiles/documentmetadata-support-000.tlg
+++ b/testfiles/documentmetadata-support-000.tlg
@@ -15,7 +15,11 @@ Package: l3bitset ....-..-.. L3 Experimental bitset support
 \l__bitset_internal_int=\count...
 )
 \l__pdfmeta_xmp_indent_int=\count...
-))) (l3backend-testphase-pdftex.def
+))) (../l3backend-pdftex.def
+File: l3backend-pdftex.def ....-..-.. L3 backend support: PDF output (pdfTeX)
+\l__color_backend_stack_int=\count...
+\l__pdf_internal_box=\box...
+) (l3backend-testphase-pdftex.def
 File: l3backend-testphase-pdftex.def ....-..-.. LaTeX PDF management testphase bundle backend support:PDFoutput(pdfTeX)
 \l__pdf_backend_tmpa_box=\box...
 \l__pdf_backend_tmpb_box=\box...
diff --git a/testfiles/documentmetadata-support-000.xetex.tlg b/testfiles/documentmetadata-support-000.xetex.tlg
index 7ea7b8f..b50515a 100644
--- a/testfiles/documentmetadata-support-000.xetex.tlg
+++ b/testfiles/documentmetadata-support-000.xetex.tlg
@@ -15,7 +15,14 @@ Package: l3bitset ....-..-.. L3 Experimental bitset support
 \l__bitset_internal_int=\count...
 )
 \l__pdfmeta_xmp_indent_int=\count...
-))) (l3backend-testphase-xetex.def
+))) (../l3backend-xetex.def
+File: l3backend-xetex.def ....-..-.. L3 backend support: XeTeX
+\g__graphics_track_int=\count...
+\l__pdf_internal_box=\box...
+\g__pdf_backend_object_int=\count...
+\g__pdf_backend_annotation_int=\count...
+\g__pdf_backend_link_int=\count...
+) (l3backend-testphase-xetex.def
 File: l3backend-testphase-xetex.def ....-..-.. LaTeX PDF management testphase bundle backend support:XeTeX
 \l__pdf_backend_tmpa_box=\box...
 \l__pdf_backend_tmpb_box=\box...
diff --git a/testfiles/embedfile.pvt b/testfiles/embedfile.pvt
index 2ead697..0bfdd7e 100644
--- a/testfiles/embedfile.pvt
+++ b/testfiles/embedfile.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {pdfversion=1.6 }
 \input{regression-test}
 
diff --git a/testfiles/embedstream.pvt b/testfiles/embedstream.pvt
index f4ebee5..0771510 100644
--- a/testfiles/embedstream.pvt
+++ b/testfiles/embedstream.pvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/formfield-old.pvt b/testfiles/formfield-old.pvt
index 26f1602..c998420 100644
--- a/testfiles/formfield-old.pvt
+++ b/testfiles/formfield-old.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/formtextfields.pvt b/testfiles/formtextfields.pvt
index 0d70a00..adf9410 100644
--- a/testfiles/formtextfields.pvt
+++ b/testfiles/formtextfields.pvt
@@ -1,6 +1,8 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {uncompress}
 \input{regression-test}
 
diff --git a/testfiles/infodict-new.pvt b/testfiles/infodict-new.pvt
index 77a6855..cbbdd0b 100644
--- a/testfiles/infodict-new.pvt
+++ b/testfiles/infodict-new.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { pdfversion=1.7,testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/infodict.pvt b/testfiles/infodict.pvt
index 1d4d15d..31bb0cf 100644
--- a/testfiles/infodict.pvt
+++ b/testfiles/infodict.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/ismap.pvt b/testfiles/ismap.pvt
index ca12b34..a50dcc2 100644
--- a/testfiles/ismap.pvt
+++ b/testfiles/ismap.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/linkbordercolor.pvt b/testfiles/linkbordercolor.pvt
index 438f598..a23b4da 100644
--- a/testfiles/linkbordercolor.pvt
+++ b/testfiles/linkbordercolor.pvt
@@ -3,7 +3,10 @@
 % xetex doesn't use the hyperdestname provided by hyperref, but e.g.
 % /S/GoTo/D(0)
 % large borders in xetex are imho not our fault ...
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{uncompress}
 \input{regression-test}
 
diff --git a/testfiles/linkmargin.pvt b/testfiles/linkmargin.pvt
index b25d069..ad42a88 100644
--- a/testfiles/linkmargin.pvt
+++ b/testfiles/linkmargin.pvt
@@ -1,5 +1,8 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\DocumentMetadata { uncompress }
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
+\DocumentMetadata {}
 \input{regression-test}
 \documentclass{article}
 \usepackage{xcolor}
diff --git a/testfiles/linktoc.pvt b/testfiles/linktoc.pvt
index f98ea60..29d5fe0 100644
--- a/testfiles/linktoc.pvt
+++ b/testfiles/linktoc.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/metadata-new-no-hyperref.pvt b/testfiles/metadata-new-no-hyperref.pvt
index 21e5a47..8a31115 100644
--- a/testfiles/metadata-new-no-hyperref.pvt
+++ b/testfiles/metadata-new-no-hyperref.pvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{pdfstandard=a-2b,testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/metadata-new.pvt b/testfiles/metadata-new.pvt
index 591bdb4..b29750f 100644
--- a/testfiles/metadata-new.pvt
+++ b/testfiles/metadata-new.pvt
@@ -1,5 +1,8 @@
 % !Mode:: "TeX:UTF-8:Main"
-%
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  { 
    testphase=new-or-1,
diff --git a/testfiles/mixpageattr.pvt b/testfiles/mixpageattr.pvt
index 63495f6..0320292 100644
--- a/testfiles/mixpageattr.pvt
+++ b/testfiles/mixpageattr.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
-\RequirePackage[debug]{pdfmanagement-testphase} 
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { testphase=new-or-1 } 
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/ocgcolorlinks.pvt b/testfiles/ocgcolorlinks.pvt
index fe1ef13..9cddf62 100644
--- a/testfiles/ocgcolorlinks.pvt
+++ b/testfiles/ocgcolorlinks.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/ocproperties.pvt b/testfiles/ocproperties.pvt
index 9707989..00e71f9 100644
--- a/testfiles/ocproperties.pvt
+++ b/testfiles/ocproperties.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  {
    testphase=new-or-1,
diff --git a/testfiles/pageattr.pvt b/testfiles/pageattr.pvt
index d0dfc2a..a6df97b 100644
--- a/testfiles/pageattr.pvt
+++ b/testfiles/pageattr.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/pagelabels-log.lvt b/testfiles/pagelabels-log.lvt
index 7615147..86a41bf 100644
--- a/testfiles/pagelabels-log.lvt
+++ b/testfiles/pagelabels-log.lvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
-\RequirePackage[debug]{pdfmanagement-testphase} 
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {testphase=new-or-1  } 
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/pagelabels.pvt b/testfiles/pagelabels.pvt
index f07e015..2e956bc 100644
--- a/testfiles/pagelabels.pvt
+++ b/testfiles/pagelabels.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/pagesattr.pvt b/testfiles/pagesattr.pvt
index cf8a5f8..09b6ed2 100644
--- a/testfiles/pagesattr.pvt
+++ b/testfiles/pagesattr.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/pdf_pageobject_ref.lvt b/testfiles/pdf_pageobject_ref.lvt
index 2400248..68111d0 100644
--- a/testfiles/pdf_pageobject_ref.lvt
+++ b/testfiles/pdf_pageobject_ref.lvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/pdffilelink.pvt b/testfiles/pdffilelink.pvt
index 1f98b6e..f973b4c 100644
--- a/testfiles/pdffilelink.pvt
+++ b/testfiles/pdffilelink.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {  }
 \input{regression-test}
 
diff --git a/testfiles/pdflscape.pvt b/testfiles/pdflscape.pvt
index ab28a93..04fd41b 100644
--- a/testfiles/pdflscape.pvt
+++ b/testfiles/pdflscape.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {pdfversion=1.7,testphase=new-or-1  }
 \input{regression-test}
 
diff --git a/testfiles/pgfpatches.pvt b/testfiles/pgfpatches.pvt
index 2f25c57..2a7001a 100644
--- a/testfiles/pgfpatches.pvt
+++ b/testfiles/pgfpatches.pvt
@@ -1,4 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {  }
 \input{regression-test}
 
diff --git a/testfiles/radiobuttons.pvt b/testfiles/radiobuttons.pvt
index 41b406d..f7363ec 100644
--- a/testfiles/radiobuttons.pvt
+++ b/testfiles/radiobuttons.pvt
@@ -1,5 +1,8 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/show.lvt b/testfiles/show.lvt
index 31decd5..4df9bc1 100644
--- a/testfiles/show.lvt
+++ b/testfiles/show.lvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
-\RequirePackage[debug]{pdfmanagement-testphase} 
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { testphase=new-or-1 } 
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/tag-checkbox.pvt b/testfiles/tag-checkbox.pvt
index eb0917b..de047cd 100644
--- a/testfiles/tag-checkbox.pvt
+++ b/testfiles/tag-checkbox.pvt
@@ -1,6 +1,8 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
-
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/test-pdfA-4.lvt b/testfiles/test-pdfA-4.lvt
index 1cda219..33af780 100644
--- a/testfiles/test-pdfA-4.lvt
+++ b/testfiles/test-pdfA-4.lvt
@@ -1,4 +1,8 @@
-\DocumentMetadata{uncompress,pdfversion=2.0,pdfstandard=a-4}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
+\DocumentMetadata{pdfversion=2.0,pdfstandard=a-4}
 \input{regression-test}
 \documentclass{article}
 \ExplSyntaxOn
diff --git a/testfiles/text-convert.lvt b/testfiles/text-convert.lvt
index 86de2c2..78ea6df 100644
--- a/testfiles/text-convert.lvt
+++ b/testfiles/text-convert.lvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/textfield.pvt b/testfiles/textfield.pvt
index 33ea195..26f2af2 100644
--- a/testfiles/textfield.pvt
+++ b/testfiles/textfield.pvt
@@ -1,6 +1,8 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
-
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{uncompress}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/thispageattr.pvt b/testfiles/thispageattr.pvt
index 47eb90f..5785802 100644
--- a/testfiles/thispageattr.pvt
+++ b/testfiles/thispageattr.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
-\RequirePackage[debug]{pdfmanagement-testphase} 
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {testphase=new-or-1  } 
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/transition.pvt b/testfiles/transition.pvt
index ede4dac..506ac3c 100644
--- a/testfiles/transition.pvt
+++ b/testfiles/transition.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {pdfversion=1.7,testphase=new-or-1  }
 \input{regression-test}
 
diff --git a/testfiles/u-standard.lvt b/testfiles/u-standard.lvt
index ea8b82a..268014f 100644
--- a/testfiles/u-standard.lvt
+++ b/testfiles/u-standard.lvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  {
    pdfstandard=A-2u
diff --git a/testfiles/version-compare.lvt b/testfiles/version-compare.lvt
index 7fc9ecf..0f9421b 100644
--- a/testfiles/version-compare.lvt
+++ b/testfiles/version-compare.lvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
-\RequirePackage[debug]{pdfmanagement-testphase} 
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { testphase=new-or-1 } 
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/viewerpreferences.pvt b/testfiles/viewerpreferences.pvt
index 9480c58..cd1a713 100644
--- a/testfiles/viewerpreferences.pvt
+++ b/testfiles/viewerpreferences.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  {
    testphase=new-or-1,
diff --git a/testfiles/xcolorpatch-svgnames.lvt b/testfiles/xcolorpatch-svgnames.lvt
index f04a0e6..d87cc06 100644
--- a/testfiles/xcolorpatch-svgnames.lvt
+++ b/testfiles/xcolorpatch-svgnames.lvt
@@ -1,4 +1,7 @@
-\RequirePackage{pdfmanagement-testphase}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/xcolorpatch.lvt b/testfiles/xcolorpatch.lvt
index bdbc7d8..bcaca9e 100644
--- a/testfiles/xcolorpatch.lvt
+++ b/testfiles/xcolorpatch.lvt
@@ -1,4 +1,7 @@
-\RequirePackage{pdfmanagement-testphase}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/xform-appearance.pvt b/testfiles/xform-appearance.pvt
index 8278b0c..3e03569 100644
--- a/testfiles/xform-appearance.pvt
+++ b/testfiles/xform-appearance.pvt
@@ -1,7 +1,9 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
-\DocumentMetadata {  }
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
+\DocumentMetadata {}
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/xform-preamble.pvt b/testfiles/xform-preamble.pvt
index 1d5e894..db265ab 100644
--- a/testfiles/xform-preamble.pvt
+++ b/testfiles/xform-preamble.pvt
@@ -1,5 +1,7 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/xform.pvt b/testfiles/xform.pvt
index 4c7163f..45bcdaa 100644
--- a/testfiles/xform.pvt
+++ b/testfiles/xform.pvt
@@ -1,6 +1,8 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
-\RequirePackage[debug]{pdfmanagement-testphase} 
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { testphase=new-or-1 } 
 \input{regression-test}
 \documentclass{article}





More information about the latex3-commits mailing list.