[latex3-commits] [git/LaTeX3-latex3-pdfresources] test-new-or-change: update tests to change in new-or-1 patches (a11d213)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Oct 29 23:10:23 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : test-new-or-change
Link       : https://github.com/latex3/pdfresources/commit/a11d213125290b9586d1252c96be0e7f68d99cf0

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

commit a11d213125290b9586d1252c96be0e7f68d99cf0
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Oct 29 23:10:23 2022 +0200

    update tests to change in new-or-1 patches


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

a11d213125290b9586d1252c96be0e7f68d99cf0
 resave.bat                                        | 17 +++++++++--------
 testfiles-noxetex/metadata-newpage.lvt            |  2 +-
 testfiles-xetex/metadata-newpage.lvt              |  2 +-
 testfiles/annot-dict.pvt                          |  2 +-
 testfiles/annot-last.lvt                          |  3 +--
 testfiles/annot.pvt                               |  2 +-
 testfiles/catalogAF.pvt                           |  1 +
 testfiles/colorprofile-standard.pvt               |  1 +
 testfiles/colorprofile1.pvt                       |  1 +
 testfiles/destination-options.pvt                 |  2 +-
 testfiles/dict_if_empty.lvt                       |  4 ++--
 testfiles/documentmetadata-support-000.luatex.tlg | 15 +++------------
 testfiles/documentmetadata-support-000.tlg        | 14 ++------------
 testfiles/documentmetadata-support-000.xetex.tlg  | 14 ++------------
 testfiles/infodict-new.pvt                        |  2 +-
 testfiles/infodict.pvt                            |  2 +-
 testfiles/metadata-new-no-hyperref.pvt            |  2 +-
 testfiles/metadata-new.pvt                        |  1 +
 testfiles/mixpageattr.pvt                         |  2 +-
 testfiles/ocproperties.pvt                        |  2 +-
 testfiles/pageattr.pvt                            |  2 +-
 testfiles/pagelabels-log.lvt                      |  2 +-
 testfiles/pagesattr.pvt                           |  2 +-
 testfiles/pdflscape.pvt                           |  2 +-
 testfiles/show.lvt                                |  2 +-
 testfiles/stop-link.pvt                           |  3 +--
 testfiles/tag-checkbox.pvt                        |  2 +-
 testfiles/thispageattr.pvt                        |  2 +-
 testfiles/transition.pvt                          |  4 +---
 testfiles/version-compare.lvt                     |  2 +-
 testfiles/viewerpreferences.pvt                   |  1 +
 testfiles/xform-preamble.pvt                      |  2 +-
 testfiles/xform.pvt                               |  2 +-
 33 files changed, 46 insertions(+), 73 deletions(-)

diff --git a/resave.bat b/resave.bat
index 8a2a430..4bfcaeb 100644
--- a/resave.bat
+++ b/resave.bat
@@ -4,11 +4,12 @@ rem l3build save -cconfig-dvips \1
 rem l3build save -cconfig-luatex -e\2 \1
 rem l3build save -cconfig-noxetex -e\2 \1
 
-l3build save -eluatex documentmetadata-support-000
-l3build save -eluatex tag-checkbox
-l3build save -epdftex tag-checkbox
-l3build save -exetex tag-checkbox
-
-l3build save -cconfig-luatex structure-destination
-l3build save -cconfig-pdftex structure-destination
-l3build save -cconfig-xetex structure-destination
+Failed tests for configuration build:
+
+  Check failed with difference files
+  - ./build/test/documentmetadata-support-000.luatex.fc
+  - ./build/test/documentmetadata-support-000.pdftex.fc
+  - ./build/test/documentmetadata-support-000.xetex.fc
+
+
+
diff --git a/testfiles-noxetex/metadata-newpage.lvt b/testfiles-noxetex/metadata-newpage.lvt
index c1a208e..6d877f7 100644
--- a/testfiles-noxetex/metadata-newpage.lvt
+++ b/testfiles-noxetex/metadata-newpage.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
 \RequirePackage{pdfmanagement-testphase} 
-\DocumentMetadata {lang=de-DE  }
+\DocumentMetadata {lang=de-DE ,testphase=new-or-1 } 
 \input{regression-test}
 
 \documentclass{article}
diff --git a/testfiles-xetex/metadata-newpage.lvt b/testfiles-xetex/metadata-newpage.lvt
index c1a208e..ead6521 100644
--- a/testfiles-xetex/metadata-newpage.lvt
+++ b/testfiles-xetex/metadata-newpage.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
 \RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata {lang=de-DE  }
+\DocumentMetadata {lang=de-DE ,testphase=new-or-1 }
 \input{regression-test}
 
 \documentclass{article}
diff --git a/testfiles/annot-dict.pvt b/testfiles/annot-dict.pvt
index 58f09b1..40eef7c 100644
--- a/testfiles/annot-dict.pvt
+++ b/testfiles/annot-dict.pvt
@@ -1,5 +1,5 @@
 
-\DocumentMetadata{}
+\DocumentMetadata{testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/annot-last.lvt b/testfiles/annot-last.lvt
index 6995c47..666844e 100644
--- a/testfiles/annot-last.lvt
+++ b/testfiles/annot-last.lvt
@@ -1,5 +1,4 @@
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata {}
+\DocumentMetadata {testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
 
diff --git a/testfiles/annot.pvt b/testfiles/annot.pvt
index 2e023d6..1d8241d 100644
--- a/testfiles/annot.pvt
+++ b/testfiles/annot.pvt
@@ -1,5 +1,5 @@
 
-\DocumentMetadata{}
+\DocumentMetadata{testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/catalogAF.pvt b/testfiles/catalogAF.pvt
index ab0590e..82e67b1 100644
--- a/testfiles/catalogAF.pvt
+++ b/testfiles/catalogAF.pvt
@@ -4,6 +4,7 @@
  {
    pdfversion=2.0, %not so good with pdftex ...
    lang=de-DE,
+   testphase=new-or-1
  }
 
 \input{regression-test}
diff --git a/testfiles/colorprofile-standard.pvt b/testfiles/colorprofile-standard.pvt
index 00f40ab..007b443 100644
--- a/testfiles/colorprofile-standard.pvt
+++ b/testfiles/colorprofile-standard.pvt
@@ -2,6 +2,7 @@
 
 \DocumentMetadata
  {
+   testphase=new-or-1,
    colorprofiles=
      {
         X=sRGB.icc,
diff --git a/testfiles/colorprofile1.pvt b/testfiles/colorprofile1.pvt
index f27357a..f3c0d96 100644
--- a/testfiles/colorprofile1.pvt
+++ b/testfiles/colorprofile1.pvt
@@ -3,6 +3,7 @@
 
 \DocumentMetadata
  {
+   testphase=new-or-1,
    colorprofiles=
      {
         X=sRGB.icc,
diff --git a/testfiles/destination-options.pvt b/testfiles/destination-options.pvt
index 1efdd86..0ee8b59 100644
--- a/testfiles/destination-options.pvt
+++ b/testfiles/destination-options.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
 
-\DocumentMetadata{}
+\DocumentMetadata{testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/dict_if_empty.lvt b/testfiles/dict_if_empty.lvt
index 5667e8e..7f2b0d5 100644
--- a/testfiles/dict_if_empty.lvt
+++ b/testfiles/dict_if_empty.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata { }
+
+\DocumentMetadata {testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
 \begin{document}\START
diff --git a/testfiles/documentmetadata-support-000.luatex.tlg b/testfiles/documentmetadata-support-000.luatex.tlg
index 6469707..38dab9f 100644
--- a/testfiles/documentmetadata-support-000.luatex.tlg
+++ b/testfiles/documentmetadata-support-000.luatex.tlg
@@ -6,7 +6,8 @@ Package: pdfmanagement-testphase ....-..-.. v... LaTeX PDF management testphase
 (../tagpdf-base.sty
 Package: tagpdf-base ....-..-.. v... part of tagpdf - provide base, no-op versions of the user commands 
 \c at g__tag_struct_abs_int=\count...
-) (pdfmanagement-testphase.ltx
+)
+(pdfmanagement-testphase.ltx
 File: pdfmanagement-testphase.ltx ....-..-.. v... PDF management code (testphase)
 \g__pdfmanagement_EmbeddedFiles_int=\count...
 (../l3bitset.sty
@@ -29,17 +30,7 @@ Package: l3ref-tmp ....-..-.. L3 Experimental cross-referencing
 Package: pdfmanagement-firstaid ....-..-.. v... LaTeX PDF management testphase bundle / firstaid-patches
 Package pdfmanagement Info: loading pdfmanagement firstaid code for fontspec
 Inserting `l3color' in `luaotfload.parse_color'.
-Inserting `l3opacity' in `luaotfload.parse_transparent'. (output-patches-tmp-ltx.sty
-Package: output-patches-tmp-ltx ....-..-.. v... Temporary patches of output commands
-(../etoolbox.sty
-Package: etoolbox ....-..-.. v... e-TeX tools for LaTeX (JAW)
-\etb at tempcnta=\count...
-)
-Patching header in \@outputpage
-Patching footer in \@outputpage
-Patching \@makecol for tagging
-Patching \@makecol for tagging
-)
+Inserting `l3opacity' in `luaotfload.parse_transparent'.
 Package pdfmanagement Info: loading pdfmanagement firstaid code for pgf
 )
 Second call:
diff --git a/testfiles/documentmetadata-support-000.tlg b/testfiles/documentmetadata-support-000.tlg
index 52fd02d..f39e679 100644
--- a/testfiles/documentmetadata-support-000.tlg
+++ b/testfiles/documentmetadata-support-000.tlg
@@ -6,7 +6,8 @@ Package: pdfmanagement-testphase ....-..-.. v... LaTeX PDF management testphase
 (../tagpdf-base.sty
 Package: tagpdf-base ....-..-.. v... part of tagpdf - provide base, no-op versions of the user commands 
 \c at g__tag_struct_abs_int=\count...
-) (pdfmanagement-testphase.ltx
+)
+(pdfmanagement-testphase.ltx
 File: pdfmanagement-testphase.ltx ....-..-.. v... PDF management code (testphase)
 \g__pdfmanagement_EmbeddedFiles_int=\count...
 (../l3bitset.sty
@@ -27,17 +28,6 @@ Package: l3ref-tmp ....-..-.. L3 Experimental cross-referencing
 )
 (pdfmanagement-firstaid.sty
 Package: pdfmanagement-firstaid ....-..-.. v... LaTeX PDF management testphase bundle / firstaid-patches
-(output-patches-tmp-ltx.sty
-Package: output-patches-tmp-ltx ....-..-.. v... Temporary patches of output commands
-(../etoolbox.sty
-Package: etoolbox ....-..-.. v... e-TeX tools for LaTeX (JAW)
-\etb at tempcnta=\count...
-)
-Patching header in \@outputpage
-Patching footer in \@outputpage
-Patching \@makecol for tagging
-Patching \@makecol for tagging
-)
 Package pdfmanagement Info: loading pdfmanagement firstaid code for pgf
 )
 Second call:
diff --git a/testfiles/documentmetadata-support-000.xetex.tlg b/testfiles/documentmetadata-support-000.xetex.tlg
index 7fa8259..e6008ce 100644
--- a/testfiles/documentmetadata-support-000.xetex.tlg
+++ b/testfiles/documentmetadata-support-000.xetex.tlg
@@ -6,7 +6,8 @@ Package: pdfmanagement-testphase ....-..-.. v... LaTeX PDF management testphase
 (../tagpdf-base.sty
 Package: tagpdf-base ....-..-.. v... part of tagpdf - provide base, no-op versions of the user commands 
 \c at g__tag_struct_abs_int=\count...
-) (pdfmanagement-testphase.ltx
+)
+(pdfmanagement-testphase.ltx
 File: pdfmanagement-testphase.ltx ....-..-.. v... PDF management code (testphase)
 \g__pdfmanagement_EmbeddedFiles_int=\count...
 (../l3bitset.sty
@@ -27,17 +28,6 @@ Package: l3ref-tmp ....-..-.. L3 Experimental cross-referencing
 )
 (pdfmanagement-firstaid.sty
 Package: pdfmanagement-firstaid ....-..-.. v... LaTeX PDF management testphase bundle / firstaid-patches
-(output-patches-tmp-ltx.sty
-Package: output-patches-tmp-ltx ....-..-.. v... Temporary patches of output commands
-(../etoolbox.sty
-Package: etoolbox ....-..-.. v... e-TeX tools for LaTeX (JAW)
-\etb at tempcnta=\count...
-)
-Patching header in \@outputpage
-Patching footer in \@outputpage
-Patching \@makecol for tagging
-Patching \@makecol for tagging
-)
 Package pdfmanagement Info: loading pdfmanagement firstaid code for pgf
 )
 Second call:
diff --git a/testfiles/infodict-new.pvt b/testfiles/infodict-new.pvt
index c5adf8a..77a6855 100644
--- a/testfiles/infodict-new.pvt
+++ b/testfiles/infodict-new.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
 
-\DocumentMetadata { pdfversion=1.7 }
+\DocumentMetadata { pdfversion=1.7,testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/infodict.pvt b/testfiles/infodict.pvt
index 3622dbe..57aa650 100644
--- a/testfiles/infodict.pvt
+++ b/testfiles/infodict.pvt
@@ -1,5 +1,5 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\DocumentMetadata { }
+\DocumentMetadata { testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/metadata-new-no-hyperref.pvt b/testfiles/metadata-new-no-hyperref.pvt
index b18b032..65e24d7 100644
--- a/testfiles/metadata-new-no-hyperref.pvt
+++ b/testfiles/metadata-new-no-hyperref.pvt
@@ -1,4 +1,4 @@
-\DocumentMetadata{pdfstandard=a-2b}
+\DocumentMetadata{pdfstandard=a-2b,testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/metadata-new.pvt b/testfiles/metadata-new.pvt
index e8b087a..6b7ecae 100644
--- a/testfiles/metadata-new.pvt
+++ b/testfiles/metadata-new.pvt
@@ -2,6 +2,7 @@
 %
 \DocumentMetadata
  { 
+   testphase=new-or-1,
    pdfstandard=a-2b,
    pdfstandard=X-4,
    pdfstandard=ua-1,
diff --git a/testfiles/mixpageattr.pvt b/testfiles/mixpageattr.pvt
index 319ad03..6bf9ef6 100644
--- a/testfiles/mixpageattr.pvt
+++ b/testfiles/mixpageattr.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
 \RequirePackage[debug]{pdfmanagement-testphase} 
-\DocumentMetadata {  }
+\DocumentMetadata { testphase=new-or-1 } 
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/ocproperties.pvt b/testfiles/ocproperties.pvt
index c5b228c..e6ee61b 100644
--- a/testfiles/ocproperties.pvt
+++ b/testfiles/ocproperties.pvt
@@ -2,6 +2,7 @@
 
 \DocumentMetadata
  {
+   testphase=new-or-1,
    pdfversion=1.7, %not so good with pdftex ...
    lang=de-DE,
  }
@@ -58,4 +59,3 @@
 \begin{document}
 abc
 \end{document}
-
diff --git a/testfiles/pageattr.pvt b/testfiles/pageattr.pvt
index 7a64032..cd84f26 100644
--- a/testfiles/pageattr.pvt
+++ b/testfiles/pageattr.pvt
@@ -1,5 +1,5 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\DocumentMetadata { }
+\DocumentMetadata { testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/pagelabels-log.lvt b/testfiles/pagelabels-log.lvt
index 997ebc0..7615147 100644
--- a/testfiles/pagelabels-log.lvt
+++ b/testfiles/pagelabels-log.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
 \RequirePackage[debug]{pdfmanagement-testphase} 
-\DocumentMetadata {  }
+\DocumentMetadata {testphase=new-or-1  } 
 \input{regression-test}
 \documentclass{article}
 
diff --git a/testfiles/pagesattr.pvt b/testfiles/pagesattr.pvt
index 4dd9a58..cf8a5f8 100644
--- a/testfiles/pagesattr.pvt
+++ b/testfiles/pagesattr.pvt
@@ -1,5 +1,5 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\DocumentMetadata {  }
+\DocumentMetadata { testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/pdflscape.pvt b/testfiles/pdflscape.pvt
index a554345..ab28a93 100644
--- a/testfiles/pdflscape.pvt
+++ b/testfiles/pdflscape.pvt
@@ -1,5 +1,5 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\DocumentMetadata {pdfversion=1.7  }
+\DocumentMetadata {pdfversion=1.7,testphase=new-or-1  }
 \input{regression-test}
 
 \documentclass{article}
diff --git a/testfiles/show.lvt b/testfiles/show.lvt
index 5195b79..31decd5 100644
--- a/testfiles/show.lvt
+++ b/testfiles/show.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
 \RequirePackage[debug]{pdfmanagement-testphase} 
-\DocumentMetadata {  }
+\DocumentMetadata { testphase=new-or-1 } 
 \input{regression-test}
 \documentclass{article}
 \usepackage{hyperref}
diff --git a/testfiles/stop-link.pvt b/testfiles/stop-link.pvt
index 50120e0..e603be3 100644
--- a/testfiles/stop-link.pvt
+++ b/testfiles/stop-link.pvt
@@ -1,5 +1,4 @@
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata{}
+\DocumentMetadata{ testphase=new-or-1} 
 \input{regression-test}
 \documentclass{article}
 \usepackage{lipsum}
diff --git a/testfiles/tag-checkbox.pvt b/testfiles/tag-checkbox.pvt
index 94ce16f..eb0917b 100644
--- a/testfiles/tag-checkbox.pvt
+++ b/testfiles/tag-checkbox.pvt
@@ -1,7 +1,7 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 
 
-\DocumentMetadata{uncompress}
+\DocumentMetadata{testphase=new-or-1}
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/thispageattr.pvt b/testfiles/thispageattr.pvt
index b57a863..6c4cd4b 100644
--- a/testfiles/thispageattr.pvt
+++ b/testfiles/thispageattr.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
 \RequirePackage[debug]{pdfmanagement-testphase} 
-\DocumentMetadata {  }
+\DocumentMetadata {testphase=new-or-1  } 
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/transition.pvt b/testfiles/transition.pvt
index 15f355c..ede4dac 100644
--- a/testfiles/transition.pvt
+++ b/testfiles/transition.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
 
-\DocumentMetadata {pdfversion=1.7  }
+\DocumentMetadata {pdfversion=1.7,testphase=new-or-1  }
 \input{regression-test}
 
 \documentclass{article}
@@ -24,5 +24,3 @@
 
 
 \end{document}
-
-
diff --git a/testfiles/version-compare.lvt b/testfiles/version-compare.lvt
index d101f11..7fc9ecf 100644
--- a/testfiles/version-compare.lvt
+++ b/testfiles/version-compare.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
 \RequirePackage[debug]{pdfmanagement-testphase} 
-\DocumentMetadata {  }
+\DocumentMetadata { testphase=new-or-1 } 
 \input{regression-test}
 \documentclass{article}
 \begin{document}\START\showoutput
diff --git a/testfiles/viewerpreferences.pvt b/testfiles/viewerpreferences.pvt
index 0ad6a3a..9480c58 100644
--- a/testfiles/viewerpreferences.pvt
+++ b/testfiles/viewerpreferences.pvt
@@ -2,6 +2,7 @@
 \RequirePackage[debug]{pdfmanagement-testphase}
 \DocumentMetadata
  {
+   testphase=new-or-1,
    pdfversion=1.7,
    lang=de-DE,
  }
diff --git a/testfiles/xform-preamble.pvt b/testfiles/xform-preamble.pvt
index 1c67d62..1d5e894 100644
--- a/testfiles/xform-preamble.pvt
+++ b/testfiles/xform-preamble.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
 
-\DocumentMetadata {  }
+\DocumentMetadata { testphase=new-or-1 }
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm
diff --git a/testfiles/xform.pvt b/testfiles/xform.pvt
index 378e0a0..4c7163f 100644
--- a/testfiles/xform.pvt
+++ b/testfiles/xform.pvt
@@ -1,7 +1,7 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3} 
 \RequirePackage[debug]{pdfmanagement-testphase} 
-\DocumentMetadata {  }
+\DocumentMetadata { testphase=new-or-1 } 
 \input{regression-test}
 \documentclass{article}
 \stockheight   = 297mm





More information about the latex3-commits mailing list.