[latex3-commits] [latex3/pdfresources] remove-ltxcmds: unify test setup, don't load expl3 (7c1f371)

github at latex-project.org github at latex-project.org
Tue Nov 14 15:26:45 CET 2023


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

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

commit 7c1f371a513e492be24a0890242e0a633a948064
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Nov 14 15:26:45 2023 +0100

    unify test setup, don't load expl3


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

7c1f371a513e492be24a0890242e0a633a948064
 testfiles-dvips/annot-last.lvt              | 5 ++++-
 testfiles-dvips/annot.pvt                   | 4 ++++
 testfiles-dvips/ap-names.pvt                | 4 ++++
 testfiles-dvips/bdc-properties.pvt          | 6 ++++--
 testfiles-dvips/bdc-shipout-log.lvt         | 4 ++++
 testfiles-dvips/bdc-shipout.pvt             | 4 ++++
 testfiles-dvips/catalog-remove.lvt          | 5 ++++-
 testfiles-dvips/catalogAF.pvt               | 6 ++++--
 testfiles-dvips/colorpatch.lvt              | 5 ++++-
 testfiles-dvips/colorprofile-standard.pvt   | 4 ++++
 testfiles-dvips/colorprofile1.pvt           | 4 ++++
 testfiles-dvips/destination-options.pvt     | 6 ++++--
 testfiles-dvips/dict_if_empty.lvt           | 6 ++++--
 testfiles-dvips/disable-links.pvt           | 6 ++++--
 testfiles-dvips/embedfile.pvt               | 6 ++++--
 testfiles-dvips/formfield-old.pvt           | 6 ++++--
 testfiles-dvips/infodict.pvt                | 6 ++++--
 testfiles-dvips/ismap.pvt                   | 6 ++++--
 testfiles-dvips/linkhook.pvt                | 6 ++++--
 testfiles-dvips/metadata-new.pvt            | 5 ++++-
 testfiles-dvips/nopdfmanage.pvt             | 4 ++++
 testfiles-dvips/pagelabels-log.lvt          | 6 ++++--
 testfiles-dvips/pagelabels.pvt              | 6 ++++--
 testfiles-dvips/pdf_pageobject_ref.lvt      | 6 ++++--
 testfiles-dvips/pdffilelink.pvt             | 6 ++++--
 testfiles-dvips/pdflscape.pvt               | 6 ++++--
 testfiles-dvips/pgfpatches.pvt              | 6 ++++--
 testfiles-dvips/show.lvt                    | 6 ++++--
 testfiles-dvips/text-convert.lvt            | 6 ++++--
 testfiles-dvips/version-compare.lvt         | 6 ++++--
 testfiles-dvips/xform-appearance.pvt        | 6 ++++--
 testfiles-dvips/xform-clipping-gh25.pvt     | 5 ++++-
 testfiles-dvips/xform-preamble.pvt          | 5 ++++-
 testfiles-dvips/xform.pvt                   | 6 ++++--
 testfiles-luatex/calculate-textfield.pvt    | 5 ++++-
 testfiles-luatex/catalogAF.pvt              | 6 ++++--
 testfiles-luatex/fontspec-color-basic.lvt   | 4 ++++
 testfiles-luatex/fontspec-color-model.pvt   | 4 ++++
 testfiles-luatex/fontspec-color-opacity.lvt | 4 ++++
 testfiles-luatex/fontspec-spotcolor.pvt     | 6 +++++-
 testfiles-luatex/linkhook.pvt               | 6 ++++--
 testfiles-luatex/luacolor.pvt               | 4 ++++
 testfiles-luatex/non-ascii-links.pvt        | 5 ++++-
 testfiles-luatex/stop-link.pvt              | 4 ++++
 testfiles-luatex/structure-destination.pvt  | 5 ++++-
 testfiles-noxetex/calculationsortorder.pvt  | 5 ++++-
 testfiles-noxetex/colorspace.pvt            | 5 ++++-
 testfiles-noxetex/extgstate-patches.pvt     | 6 ++++--
 testfiles-noxetex/metadata-newpage.lvt      | 6 ++++--
 testfiles-noxetex/metadata.pvt              | 5 ++++-
 testfiles-noxetex/pdfa2b-test.pvt           | 5 ++++-
 testfiles-noxetex/pgfpatches.pvt            | 6 ++++--
 testfiles-noxetex/test-new-transparent.pvt  | 5 ++++-
 testfiles-noxetex/transparent-tikz.pvt      | 6 ++++--
 testfiles-pdftex/calculate-textfield.pvt    | 5 ++++-
 testfiles-pdftex/catalogAF.pvt              | 6 ++++--
 testfiles-pdftex/linkhook.pvt               | 5 ++++-
 testfiles-pdftex/metadata-ansi.pvt          | 4 ++++
 testfiles-pdftex/metadata-dates.pvt         | 6 +++++-
 testfiles-pdftex/no-metadata.pvt            | 4 ++++
 testfiles-pdftex/stop-link.pvt              | 4 ++++
 testfiles-pdftex/structure-destination.pvt  | 5 ++++-
 testfiles-xetex/calculate-textfield.pvt     | 5 ++++-
 testfiles-xetex/catalogAF.pvt               | 6 ++++--
 testfiles-xetex/linkhook.pvt                | 5 ++++-
 testfiles-xetex/metadata-newpage.lvt        | 6 ++++--
 testfiles-xetex/stop-link.pvt               | 4 ++++
 testfiles-xetex/structure-destination.pvt   | 5 ++++-
 68 files changed, 274 insertions(+), 82 deletions(-)

diff --git a/testfiles-dvips/annot-last.lvt b/testfiles-dvips/annot-last.lvt
index 11933ba..e6fd974 100644
--- a/testfiles-dvips/annot-last.lvt
+++ b/testfiles-dvips/annot-last.lvt
@@ -1,4 +1,7 @@
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata {xmp=false}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/annot.pvt b/testfiles-dvips/annot.pvt
index 9be5b0b..441a97e 100644
--- a/testfiles-dvips/annot.pvt
+++ b/testfiles-dvips/annot.pvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{xmp=false}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/ap-names.pvt b/testfiles-dvips/ap-names.pvt
index 24f2657..d27c624 100644
--- a/testfiles-dvips/ap-names.pvt
+++ b/testfiles-dvips/ap-names.pvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{ xmp=false}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/bdc-properties.pvt b/testfiles-dvips/bdc-properties.pvt
index 6544e6c..6f960ae 100644
--- a/testfiles-dvips/bdc-properties.pvt
+++ b/testfiles-dvips/bdc-properties.pvt
@@ -1,5 +1,7 @@
-
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata { xmp=false}
 \input{regression-test}
 
diff --git a/testfiles-dvips/bdc-shipout-log.lvt b/testfiles-dvips/bdc-shipout-log.lvt
index 34e3607..c1890bc 100644
--- a/testfiles-dvips/bdc-shipout-log.lvt
+++ b/testfiles-dvips/bdc-shipout-log.lvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{uncompress,xmp=false} 
 \input{regression-test}
 \documentclass{book}%
diff --git a/testfiles-dvips/bdc-shipout.pvt b/testfiles-dvips/bdc-shipout.pvt
index 02406dd..d7df2f8 100644
--- a/testfiles-dvips/bdc-shipout.pvt
+++ b/testfiles-dvips/bdc-shipout.pvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{uncompress,xmp=false} 
 \input{regression-test}
 
diff --git a/testfiles-dvips/catalog-remove.lvt b/testfiles-dvips/catalog-remove.lvt
index 3f76ed6..49d955d 100644
--- a/testfiles-dvips/catalog-remove.lvt
+++ b/testfiles-dvips/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-dvips/catalogAF.pvt b/testfiles-dvips/catalogAF.pvt
index 64fb814..9da8402 100644
--- a/testfiles-dvips/catalogAF.pvt
+++ b/testfiles-dvips/catalogAF.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=2.0, %not so good with pdftex ...
diff --git a/testfiles-dvips/colorpatch.lvt b/testfiles-dvips/colorpatch.lvt
index 736133b..7f9537b 100644
--- a/testfiles-dvips/colorpatch.lvt
+++ b/testfiles-dvips/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-dvips/colorprofile-standard.pvt b/testfiles-dvips/colorprofile-standard.pvt
index 5bfe6d8..340d1eb 100644
--- a/testfiles-dvips/colorprofile-standard.pvt
+++ b/testfiles-dvips/colorprofile-standard.pvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  {
    colorprofiles=
diff --git a/testfiles-dvips/colorprofile1.pvt b/testfiles-dvips/colorprofile1.pvt
index ae74398..7c7b71b 100644
--- a/testfiles-dvips/colorprofile1.pvt
+++ b/testfiles-dvips/colorprofile1.pvt
@@ -1,3 +1,7 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  {
    colorprofiles=
diff --git a/testfiles-dvips/destination-options.pvt b/testfiles-dvips/destination-options.pvt
index c717306..3059e0b 100644
--- a/testfiles-dvips/destination-options.pvt
+++ b/testfiles-dvips/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{ xmp=false}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/dict_if_empty.lvt b/testfiles-dvips/dict_if_empty.lvt
index fa536a9..b9901a9 100644
--- a/testfiles-dvips/dict_if_empty.lvt
+++ b/testfiles-dvips/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 {xmp=false }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/disable-links.pvt b/testfiles-dvips/disable-links.pvt
index e628370..2d13e06 100644
--- a/testfiles-dvips/disable-links.pvt
+++ b/testfiles-dvips/disable-links.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 {xmp=false}
 \input{regression-test}
 
diff --git a/testfiles-dvips/embedfile.pvt b/testfiles-dvips/embedfile.pvt
index 824d857..4ed3276 100644
--- a/testfiles-dvips/embedfile.pvt
+++ b/testfiles-dvips/embedfile.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.6,xmp=false }
 \input{regression-test}
 
diff --git a/testfiles-dvips/formfield-old.pvt b/testfiles-dvips/formfield-old.pvt
index c300fe4..90a2e4c 100644
--- a/testfiles-dvips/formfield-old.pvt
+++ b/testfiles-dvips/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 { xmp=false }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/infodict.pvt b/testfiles-dvips/infodict.pvt
index 3cf1897..e456b23 100644
--- a/testfiles-dvips/infodict.pvt
+++ b/testfiles-dvips/infodict.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 {xmp=false }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/ismap.pvt b/testfiles-dvips/ismap.pvt
index 20b999f..6b3bcce 100644
--- a/testfiles-dvips/ismap.pvt
+++ b/testfiles-dvips/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 { xmp=false }
 \input{regression-test}
 \documentclass{report}
diff --git a/testfiles-dvips/linkhook.pvt b/testfiles-dvips/linkhook.pvt
index 76d235a..1169720 100644
--- a/testfiles-dvips/linkhook.pvt
+++ b/testfiles-dvips/linkhook.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=2.0, %
diff --git a/testfiles-dvips/metadata-new.pvt b/testfiles-dvips/metadata-new.pvt
index 328fc97..b2d7747 100644
--- a/testfiles-dvips/metadata-new.pvt
+++ b/testfiles-dvips/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
  {
    pdfstandard=a-2b,
diff --git a/testfiles-dvips/nopdfmanage.pvt b/testfiles-dvips/nopdfmanage.pvt
index 1bfb646..1b2e807 100644
--- a/testfiles-dvips/nopdfmanage.pvt
+++ b/testfiles-dvips/nopdfmanage.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-dvips/pagelabels-log.lvt b/testfiles-dvips/pagelabels-log.lvt
index 544c766..4e3640f 100644
--- a/testfiles-dvips/pagelabels-log.lvt
+++ b/testfiles-dvips/pagelabels-log.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 { xmp=false }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/pagelabels.pvt b/testfiles-dvips/pagelabels.pvt
index 9412259..9f3660c 100644
--- a/testfiles-dvips/pagelabels.pvt
+++ b/testfiles-dvips/pagelabels.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 { xmp=false }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/pdf_pageobject_ref.lvt b/testfiles-dvips/pdf_pageobject_ref.lvt
index 2400248..68111d0 100644
--- a/testfiles-dvips/pdf_pageobject_ref.lvt
+++ b/testfiles-dvips/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-dvips/pdffilelink.pvt b/testfiles-dvips/pdffilelink.pvt
index 7150d50..52e32e6 100644
--- a/testfiles-dvips/pdffilelink.pvt
+++ b/testfiles-dvips/pdffilelink.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 { xmp=false }
 \input{regression-test}
 
diff --git a/testfiles-dvips/pdflscape.pvt b/testfiles-dvips/pdflscape.pvt
index 3544fae..83a1df4 100644
--- a/testfiles-dvips/pdflscape.pvt
+++ b/testfiles-dvips/pdflscape.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 ,xmp=false }
 \input{regression-test}
 
diff --git a/testfiles-dvips/pgfpatches.pvt b/testfiles-dvips/pgfpatches.pvt
index 8b8d618..124c328 100644
--- a/testfiles-dvips/pgfpatches.pvt
+++ b/testfiles-dvips/pgfpatches.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 { xmp=false  }
 \input{regression-test}
 
diff --git a/testfiles-dvips/show.lvt b/testfiles-dvips/show.lvt
index 54ea957..771330c 100644
--- a/testfiles-dvips/show.lvt
+++ b/testfiles-dvips/show.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 { xmp=false }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/text-convert.lvt b/testfiles-dvips/text-convert.lvt
index 806f709..ddeb206 100644
--- a/testfiles-dvips/text-convert.lvt
+++ b/testfiles-dvips/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-dvips/version-compare.lvt b/testfiles-dvips/version-compare.lvt
index faa22b0..2f2f2bc 100644
--- a/testfiles-dvips/version-compare.lvt
+++ b/testfiles-dvips/version-compare.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 { xmp=false }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/xform-appearance.pvt b/testfiles-dvips/xform-appearance.pvt
index 4008da8..c410001 100644
--- a/testfiles-dvips/xform-appearance.pvt
+++ b/testfiles-dvips/xform-appearance.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 { xmp=false }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/xform-clipping-gh25.pvt b/testfiles-dvips/xform-clipping-gh25.pvt
index 056ecec..b5010ae 100644
--- a/testfiles-dvips/xform-clipping-gh25.pvt
+++ b/testfiles-dvips/xform-clipping-gh25.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 {xmp=false}
 \input{regression-test}
 
diff --git a/testfiles-dvips/xform-preamble.pvt b/testfiles-dvips/xform-preamble.pvt
index c4223b2..bb7222f 100644
--- a/testfiles-dvips/xform-preamble.pvt
+++ b/testfiles-dvips/xform-preamble.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 {xmp=false  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/xform.pvt b/testfiles-dvips/xform.pvt
index bed7df2..9037796 100644
--- a/testfiles-dvips/xform.pvt
+++ b/testfiles-dvips/xform.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 { xmp=false }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-luatex/calculate-textfield.pvt b/testfiles-luatex/calculate-textfield.pvt
index 6d97486..90c8202 100644
--- a/testfiles-luatex/calculate-textfield.pvt
+++ b/testfiles-luatex/calculate-textfield.pvt
@@ -1,4 +1,7 @@
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{pdfversion=2.0}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-luatex/catalogAF.pvt b/testfiles-luatex/catalogAF.pvt
index 1e6b132..6342ec6 100644
--- a/testfiles-luatex/catalogAF.pvt
+++ b/testfiles-luatex/catalogAF.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=2.0, %not so good with pdftex ...
diff --git a/testfiles-luatex/fontspec-color-basic.lvt b/testfiles-luatex/fontspec-color-basic.lvt
index aab8061..f0de141 100644
--- a/testfiles-luatex/fontspec-color-basic.lvt
+++ b/testfiles-luatex/fontspec-color-basic.lvt
@@ -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-luatex/fontspec-color-model.pvt b/testfiles-luatex/fontspec-color-model.pvt
index 6a650f6..e4d656e 100644
--- a/testfiles-luatex/fontspec-color-model.pvt
+++ b/testfiles-luatex/fontspec-color-model.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-luatex/fontspec-color-opacity.lvt b/testfiles-luatex/fontspec-color-opacity.lvt
index 28954f2..7f8ed1b 100644
--- a/testfiles-luatex/fontspec-color-opacity.lvt
+++ b/testfiles-luatex/fontspec-color-opacity.lvt
@@ -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-luatex/fontspec-spotcolor.pvt b/testfiles-luatex/fontspec-spotcolor.pvt
index aa20550..d8cb87b 100644
--- a/testfiles-luatex/fontspec-spotcolor.pvt
+++ b/testfiles-luatex/fontspec-spotcolor.pvt
@@ -1,4 +1,8 @@
-\DocumentMetadata{uncompress}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
+\DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
 \usepackage{fontspec}
diff --git a/testfiles-luatex/linkhook.pvt b/testfiles-luatex/linkhook.pvt
index 7429be9..0ab3fb4 100644
--- a/testfiles-luatex/linkhook.pvt
+++ b/testfiles-luatex/linkhook.pvt
@@ -1,9 +1,11 @@
-\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  {
    pdfversion=2.0, %
    lang=de-DE,
-   uncompress
  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-luatex/luacolor.pvt b/testfiles-luatex/luacolor.pvt
index 1fd4461..7e332eb 100644
--- a/testfiles-luatex/luacolor.pvt
+++ b/testfiles-luatex/luacolor.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-luatex/non-ascii-links.pvt b/testfiles-luatex/non-ascii-links.pvt
index df06dea..7efe523 100644
--- a/testfiles-luatex/non-ascii-links.pvt
+++ b/testfiles-luatex/non-ascii-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}
 \documentclass{article}
diff --git a/testfiles-luatex/stop-link.pvt b/testfiles-luatex/stop-link.pvt
index e603be3..8697c4e 100644
--- a/testfiles-luatex/stop-link.pvt
+++ b/testfiles-luatex/stop-link.pvt
@@ -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-luatex/structure-destination.pvt b/testfiles-luatex/structure-destination.pvt
index cff16f4..a602165 100644
--- a/testfiles-luatex/structure-destination.pvt
+++ b/testfiles-luatex/structure-destination.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
 \ExplSyntaxOn
 \sys_gset_rand_seed:n{1000}
 \ExplSyntaxOff
diff --git a/testfiles-noxetex/calculationsortorder.pvt b/testfiles-noxetex/calculationsortorder.pvt
index e8c1afb..e753955 100644
--- a/testfiles-noxetex/calculationsortorder.pvt
+++ b/testfiles-noxetex/calculationsortorder.pvt
@@ -1,7 +1,10 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 % ok for pdftex and luatex. Perhaps some changes to avoid a two pass are possible/needed
 % fails with xetex because of the missing \pdf_link_last:
-\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-noxetex/colorspace.pvt b/testfiles-noxetex/colorspace.pvt
index ab1eedf..4547095 100644
--- a/testfiles-noxetex/colorspace.pvt
+++ b/testfiles-noxetex/colorspace.pvt
@@ -1,6 +1,9 @@
 % Test doesn't make sense with xelatex/dvips as they don't
 % work with transparent and colorspace anyway ...
-\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-noxetex/extgstate-patches.pvt b/testfiles-noxetex/extgstate-patches.pvt
index 961dda1..c6fb6ff 100644
--- a/testfiles-noxetex/extgstate-patches.pvt
+++ b/testfiles-noxetex/extgstate-patches.pvt
@@ -4,8 +4,10 @@
 % work with transparent and colorspace anyway ...
 % the patches looks ok, there are a few duplicates in the object
 % but nothing harmful
-\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 {  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-noxetex/metadata-newpage.lvt b/testfiles-noxetex/metadata-newpage.lvt
index 6d877f7..6dc7345 100644
--- a/testfiles-noxetex/metadata-newpage.lvt
+++ b/testfiles-noxetex/metadata-newpage.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 {lang=de-DE ,testphase=new-or-1 } 
 \input{regression-test}
 
diff --git a/testfiles-noxetex/metadata.pvt b/testfiles-noxetex/metadata.pvt
index 94905b1..f748fc4 100644
--- a/testfiles-noxetex/metadata.pvt
+++ b/testfiles-noxetex/metadata.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 {lang=de-DE  }
 \input{regression-test}
 
diff --git a/testfiles-noxetex/pdfa2b-test.pvt b/testfiles-noxetex/pdfa2b-test.pvt
index b3252c4..def3097 100644
--- a/testfiles-noxetex/pdfa2b-test.pvt
+++ b/testfiles-noxetex/pdfa2b-test.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
  { uncompress,
    lang=de-DE,
diff --git a/testfiles-noxetex/pgfpatches.pvt b/testfiles-noxetex/pgfpatches.pvt
index b648163..2a7001a 100644
--- a/testfiles-noxetex/pgfpatches.pvt
+++ b/testfiles-noxetex/pgfpatches.pvt
@@ -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 {  }
 \input{regression-test}
 
diff --git a/testfiles-noxetex/test-new-transparent.pvt b/testfiles-noxetex/test-new-transparent.pvt
index 945b348..441b3f3 100644
--- a/testfiles-noxetex/test-new-transparent.pvt
+++ b/testfiles-noxetex/test-new-transparent.pvt
@@ -1,5 +1,8 @@
 % !Mode:: "TeX: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 {  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-noxetex/transparent-tikz.pvt b/testfiles-noxetex/transparent-tikz.pvt
index 54caf50..793658d 100644
--- a/testfiles-noxetex/transparent-tikz.pvt
+++ b/testfiles-noxetex/transparent-tikz.pvt
@@ -1,6 +1,8 @@
 % !Mode:: "TeX:UTF-8:Main"
-\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 {  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-pdftex/calculate-textfield.pvt b/testfiles-pdftex/calculate-textfield.pvt
index 6d97486..90c8202 100644
--- a/testfiles-pdftex/calculate-textfield.pvt
+++ b/testfiles-pdftex/calculate-textfield.pvt
@@ -1,4 +1,7 @@
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{pdfversion=2.0}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-pdftex/catalogAF.pvt b/testfiles-pdftex/catalogAF.pvt
index 1e6b132..6342ec6 100644
--- a/testfiles-pdftex/catalogAF.pvt
+++ b/testfiles-pdftex/catalogAF.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=2.0, %not so good with pdftex ...
diff --git a/testfiles-pdftex/linkhook.pvt b/testfiles-pdftex/linkhook.pvt
index 7429be9..e7e2811 100644
--- a/testfiles-pdftex/linkhook.pvt
+++ b/testfiles-pdftex/linkhook.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=2.0, %
diff --git a/testfiles-pdftex/metadata-ansi.pvt b/testfiles-pdftex/metadata-ansi.pvt
index a439313..c796630 100644
--- a/testfiles-pdftex/metadata-ansi.pvt
+++ b/testfiles-pdftex/metadata-ansi.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-pdftex/metadata-dates.pvt b/testfiles-pdftex/metadata-dates.pvt
index c957030..d3efcc0 100644
--- a/testfiles-pdftex/metadata-dates.pvt
+++ b/testfiles-pdftex/metadata-dates.pvt
@@ -1,4 +1,8 @@
-\DocumentMetadata{uncompress}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
+\DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
 \usepackage{hyperref}
diff --git a/testfiles-pdftex/no-metadata.pvt b/testfiles-pdftex/no-metadata.pvt
index 49f6290..0962361 100644
--- a/testfiles-pdftex/no-metadata.pvt
+++ b/testfiles-pdftex/no-metadata.pvt
@@ -1,5 +1,9 @@
 % !Mode:: "TeX:UTF-8:Main"
 %
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata
  {
    xmp=false
diff --git a/testfiles-pdftex/stop-link.pvt b/testfiles-pdftex/stop-link.pvt
index e603be3..8697c4e 100644
--- a/testfiles-pdftex/stop-link.pvt
+++ b/testfiles-pdftex/stop-link.pvt
@@ -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-pdftex/structure-destination.pvt b/testfiles-pdftex/structure-destination.pvt
index cff16f4..a602165 100644
--- a/testfiles-pdftex/structure-destination.pvt
+++ b/testfiles-pdftex/structure-destination.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
 \ExplSyntaxOn
 \sys_gset_rand_seed:n{1000}
 \ExplSyntaxOff
diff --git a/testfiles-xetex/calculate-textfield.pvt b/testfiles-xetex/calculate-textfield.pvt
index 6d97486..90c8202 100644
--- a/testfiles-xetex/calculate-textfield.pvt
+++ b/testfiles-xetex/calculate-textfield.pvt
@@ -1,4 +1,7 @@
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
 \DocumentMetadata{pdfversion=2.0}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-xetex/catalogAF.pvt b/testfiles-xetex/catalogAF.pvt
index 1e6b132..6342ec6 100644
--- a/testfiles-xetex/catalogAF.pvt
+++ b/testfiles-xetex/catalogAF.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=2.0, %not so good with pdftex ...
diff --git a/testfiles-xetex/linkhook.pvt b/testfiles-xetex/linkhook.pvt
index 7429be9..e7e2811 100644
--- a/testfiles-xetex/linkhook.pvt
+++ b/testfiles-xetex/linkhook.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=2.0, %
diff --git a/testfiles-xetex/metadata-newpage.lvt b/testfiles-xetex/metadata-newpage.lvt
index ead6521..6e04cea 100644
--- a/testfiles-xetex/metadata-newpage.lvt
+++ b/testfiles-xetex/metadata-newpage.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 {lang=de-DE ,testphase=new-or-1 }
 \input{regression-test}
 
diff --git a/testfiles-xetex/stop-link.pvt b/testfiles-xetex/stop-link.pvt
index e603be3..8697c4e 100644
--- a/testfiles-xetex/stop-link.pvt
+++ b/testfiles-xetex/stop-link.pvt
@@ -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-xetex/structure-destination.pvt b/testfiles-xetex/structure-destination.pvt
index 113ae02..2b615b7 100644
--- a/testfiles-xetex/structure-destination.pvt
+++ b/testfiles-xetex/structure-destination.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
 \ExplSyntaxOn
 \sys_gset_rand_seed:n{1000}
 \ExplSyntaxOff





More information about the latex3-commits mailing list.