[latex3-commits] [git/LaTeX3-latex3-l3build] master: Split out PDF-based tests (4ed6342)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Aug 3 16:29:02 CEST 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/4ed6342c6960dd174ded159329bf442ce130a579

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

commit 4ed6342c6960dd174ded159329bf442ce130a579
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Aug 3 15:29:02 2018 +0100

    Split out PDF-based tests
    
    This allows just testing pdfTeX, which has some advantages.


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

4ed6342c6960dd174ded159329bf442ce130a579
 build.lua                                  |    2 +-
 config-pdf.lua                             |    2 +
 {testfiles => testfiles-pdf}/00-test-2.pvt |    0
 {testfiles => testfiles-pdf}/00-test-2.tpf |    0
 testfiles/00-test-2.luatex.tpf             |  108 ----------------------------
 testfiles/00-test-2.ptex.tpf               |   57 ---------------
 testfiles/00-test-2.uptex.tpf              |   57 ---------------
 testfiles/00-test-2.xetex.tpf              |   97 -------------------------
 8 files changed, 3 insertions(+), 320 deletions(-)

diff --git a/build.lua b/build.lua
index 7f1d2ce..8f9e639 100644
--- a/build.lua
+++ b/build.lua
@@ -7,7 +7,7 @@ module = "l3build"
 bundle = ""
 
 -- Non-standard settings
-checkconfigs = {"build", "config-plain"}
+checkconfigs = {"build", "config-pdf", "config-plain"}
 checkdeps    = { }
 checkengines = {"pdftex", "xetex", "luatex", "ptex", "uptex"}
 cleanfiles   = {"*.pdf", "*.tex", "*.zip"}
diff --git a/config-pdf.lua b/config-pdf.lua
new file mode 100644
index 0000000..ddcc7a2
--- /dev/null
+++ b/config-pdf.lua
@@ -0,0 +1,2 @@
+checkengines = {"pdftex"}
+testfiledir  = "testfiles-pdf"
\ No newline at end of file
diff --git a/testfiles/00-test-2.pvt b/testfiles-pdf/00-test-2.pvt
similarity index 100%
rename from testfiles/00-test-2.pvt
rename to testfiles-pdf/00-test-2.pvt
diff --git a/testfiles/00-test-2.tpf b/testfiles-pdf/00-test-2.tpf
similarity index 100%
rename from testfiles/00-test-2.tpf
rename to testfiles-pdf/00-test-2.tpf
diff --git a/testfiles/00-test-2.luatex.tpf b/testfiles/00-test-2.luatex.tpf
deleted file mode 100644
index 21892fe..0000000
--- a/testfiles/00-test-2.luatex.tpf
+++ /dev/null
@@ -1,108 +0,0 @@
-%PDF-1.5
-%ÐÔÅØ
-3 0 obj
-<</Length 120       >>
-stream
-BT
-/F16 9.96264 Tf 1 0 0 1 87.691 759.927 Tm [<004F00300057001D>]TJ
-1 0 0 1 82.461 747.972 Tm [<004F00300057001D>]TJ
-ET
-endstream
-endobj
-2 0 obj
-<</Type/Page/Contents 3 0 R/Resources 1 0 R/MediaBox[0 0 595.276 841.89]/Parent 5 0 R>>
-endobj
-1 0 obj
-<</Font<</F16 4 0 R>>/ProcSet[/PDF/Text]>>
-endobj
-6 0 obj
-[29[525]48[525]79[525]87[525]]
-endobj
-7 0 obj
-<</Length 11        >>
-[BINARY STREAM]
-endobj
-8 0 obj
-<</Subtype/CIDFontType0C/Length 1254      >>
-[BINARY STREAM]
-endobj
-9 0 obj
-<</Type/FontDescriptor/FontName/LWEKJG+LMMono10-Regular/Flags 4/FontBBox[-451 -316 731 1016]/Ascent 1016/CapHeight 611/Descent -316/ItalicAngle 0/StemV 175/XHeight 431/FontFile3 8 0 R/CIDSet 7 0 R>>
-endobj
-10 0 obj
-<</Length 729       >>
-stream
-%!PS-Adobe-3.0 Resource-CMap
-%%DocumentNeededResources: ProcSet (CIDInit)
-%%IncludeResource: ProcSet (CIDInit)
-%%BeginResource: CMap (TeX-LWEKJG-LMMono10-Regular-0)
-%%Title: (TeX-LWEKJG-LMMono10-Regular-0 TeX LWEKJG-LMMono10-Regular 0)
-%%Version: 1.000
-%%EndComments
-/CIDInit /ProcSet findresource begin
-12 dict begin
-begincmap
-/CIDSystemInfo
-<< /Registry (TeX)
-/Ordering (LWEKJG-LMMono10-Regular)
-/Supplement 0
->> def
-/CMapName /TeX-Identity-LWEKJG-LMMono10-Regular def
-/CMapType 2 def
-1 begincodespacerange
-<0000> <FFFF>
-endcodespacerange
-0 beginbfrange
-endbfrange
-4 beginbfchar
-<001D> <0026>
-<0030> <0024>
-<004F> <0023>
-<0057> <0025>
-endbfchar
-endcmap
-CMapName currentdict /CMap defineresource pop
-end
-end
-%%EndResource
-%%EOF
-endstream
-endobj
-4 0 obj
-<</Type/Font/Subtype/Type0/Encoding/Identity-H/BaseFont/LWEKJG+LMMono10-Regular/DescendantFonts[11 0 R]/ToUnicode 10 0 R>>
-endobj
-11 0 obj
-<</Type/Font/Subtype/CIDFontType0/BaseFont/LWEKJG+LMMono10-Regular/FontDescriptor 9 0 R/W 6 0 R/CIDSystemInfo<</Registry (Adobe)/Ordering (Identity)/Supplement 0>>>>
-endobj
-5 0 obj
-<</Type/Pages /Count 1/Kids[2 0 R]>>
-endobj
-12 0 obj
-<</Type/Catalog/Pages 5 0 R>>
-endobj
-13 0 obj
-<<
-/Producer (LuaTeX)
-/Creator (TeX)/Trapped/False>>
-endobj
-xref
-0 14
-0000000000 65535 f 
-0000000294 00000 n 
-0000000191 00000 n 
-0000000015 00000 n 
-0000002797 00000 n 
-0000003117 00000 n 
-0000000352 00000 n 
-0000000398 00000 n 
-0000000465 00000 n 
-0000001797 00000 n 
-0000002011 00000 n 
-0000002935 00000 n 
-0000003169 00000 n 
-0000003215 00000 n 
-trailer
-<</Size 14/Root 12 0 R/Info 13 0 R/ID[<2EFA46759415D51C0244C6A720E97309> <2EFA46759415D51C0244C6A720E97309>]>>
-startxref
-3284
-%%EOF
diff --git a/testfiles/00-test-2.ptex.tpf b/testfiles/00-test-2.ptex.tpf
deleted file mode 100644
index 243ed47..0000000
--- a/testfiles/00-test-2.ptex.tpf
+++ /dev/null
@@ -1,57 +0,0 @@
-%PDF-1.5
-%äðíø
-5 0 obj
-<</Length 100>>
-stream
- q 1 0 0 1 72 769.89 cm BT /F1 9.9626 Tf 15.691 -9.963 Td[(#$%&)]TJ -5.23 -11.955 Td[(#$%&)]TJ ET Q
-endstream
-endobj
-6 0 obj
-<</Font<</F1 4 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
-endobj
-3 0 obj
-<</Resources 6 0 R/Type/Page/Parent 7 0 R/Contents[5 0 R]>>
-endobj
-7 0 obj
-<</Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0 595.28 841.89]>>
-endobj
-2 0 obj
-<</Creator(TeX)/Producer(dvipdfmx)/CreationDate(D:20160520090000-00'00')>>
-endobj
-1 0 obj
-<</Pages 7 0 R/Type/Catalog>>
-endobj
-8 0 obj
-[525 525 525 525]
-endobj
-9 0 obj
-<</Subtype/Type1C/Length 1021>>
-[BINARY STREAM]
-endobj
-4 0 obj
-<</Type/Font/Subtype/Type1/Widths 8 0 R/FirstChar 35/LastChar 38/BaseFont/APWWDF+CMTT10/FontDescriptor
-10 0 R>>
-endobj
-10 0 obj
-<</Type/FontDescriptor/CapHeight 611/Ascent 611/Descent -222/ItalicAngle 0/StemV
-69/Flags 6/FontBBox[-4 -233 537 696]/FontFile3 9 0 R/CharSet(/numbersign/dollar/percent/ampersand)/FontName/APWWDF+CMTT10>>
-endobj
-xref
-0 11
-0000000000 65535 f 
-0000000486 00000 n 
-0000000396 00000 n 
-0000000242 00000 n 
-0000001650 00000 n 
-0000000015 00000 n 
-0000000164 00000 n 
-0000000317 00000 n 
-0000000531 00000 n 
-0000000564 00000 n 
-0000001777 00000 n 
-trailer
-<</Root 1 0 R/Info 2 0 R/ID[<3ac55c091235ad23d6c25403368b8f1e><3ac55c091235ad23d6c25403368b8f1e>]/Size
-11>>
-startxref
-1998
-%%EOF
diff --git a/testfiles/00-test-2.uptex.tpf b/testfiles/00-test-2.uptex.tpf
deleted file mode 100644
index 243ed47..0000000
--- a/testfiles/00-test-2.uptex.tpf
+++ /dev/null
@@ -1,57 +0,0 @@
-%PDF-1.5
-%äðíø
-5 0 obj
-<</Length 100>>
-stream
- q 1 0 0 1 72 769.89 cm BT /F1 9.9626 Tf 15.691 -9.963 Td[(#$%&)]TJ -5.23 -11.955 Td[(#$%&)]TJ ET Q
-endstream
-endobj
-6 0 obj
-<</Font<</F1 4 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
-endobj
-3 0 obj
-<</Resources 6 0 R/Type/Page/Parent 7 0 R/Contents[5 0 R]>>
-endobj
-7 0 obj
-<</Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0 595.28 841.89]>>
-endobj
-2 0 obj
-<</Creator(TeX)/Producer(dvipdfmx)/CreationDate(D:20160520090000-00'00')>>
-endobj
-1 0 obj
-<</Pages 7 0 R/Type/Catalog>>
-endobj
-8 0 obj
-[525 525 525 525]
-endobj
-9 0 obj
-<</Subtype/Type1C/Length 1021>>
-[BINARY STREAM]
-endobj
-4 0 obj
-<</Type/Font/Subtype/Type1/Widths 8 0 R/FirstChar 35/LastChar 38/BaseFont/APWWDF+CMTT10/FontDescriptor
-10 0 R>>
-endobj
-10 0 obj
-<</Type/FontDescriptor/CapHeight 611/Ascent 611/Descent -222/ItalicAngle 0/StemV
-69/Flags 6/FontBBox[-4 -233 537 696]/FontFile3 9 0 R/CharSet(/numbersign/dollar/percent/ampersand)/FontName/APWWDF+CMTT10>>
-endobj
-xref
-0 11
-0000000000 65535 f 
-0000000486 00000 n 
-0000000396 00000 n 
-0000000242 00000 n 
-0000001650 00000 n 
-0000000015 00000 n 
-0000000164 00000 n 
-0000000317 00000 n 
-0000000531 00000 n 
-0000000564 00000 n 
-0000001777 00000 n 
-trailer
-<</Root 1 0 R/Info 2 0 R/ID[<3ac55c091235ad23d6c25403368b8f1e><3ac55c091235ad23d6c25403368b8f1e>]/Size
-11>>
-startxref
-1998
-%%EOF
diff --git a/testfiles/00-test-2.xetex.tpf b/testfiles/00-test-2.xetex.tpf
deleted file mode 100644
index 9a8486d..0000000
--- a/testfiles/00-test-2.xetex.tpf
+++ /dev/null
@@ -1,97 +0,0 @@
-%PDF-1.5
-%äðíø
-6 0 obj
-<</Length 124>>
-stream
- q 1 0 0 1 72 769.89 cm BT /F1 9.9626 Tf 15.691 -9.963 Td[<004f00300057001d>]TJ -5.23 -11.955 Td[<004f00300057001d>]TJ ET Q
-endstream
-endobj
-7 0 obj
-<</Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
-endobj
-3 0 obj
-<</Resources 7 0 R/Type/Page/Parent 8 0 R/Contents[6 0 R]>>
-endobj
-8 0 obj
-<</Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0 595.28 841.89]>>
-endobj
-2 0 obj
-<</Creator(TeX)/Producer(xdvipdfmx)/CreationDate(D:20160520090000-00'00')>>
-endobj
-1 0 obj
-<</Pages 8 0 R/Type/Catalog>>
-endobj
-9 0 obj
-<</Length 450>>
-stream
-/CIDInit /ProcSet findresource begin
-12 dict begin
-begincmap
-/CMapName /c:-texlive-2018-texmf-dist-fonts-opentype-public-lm-lmmono10-regular.otf,000-UTF16 def
-/CMapType 2 def
-/CIDSystemInfo <<
-  /Registry (Adobe)
-  /Ordering (UCS)
-  /Supplement 0
->> def
-1 begincodespacerange
-<0000> <FFFF>
-endcodespacerange
-4 beginbfchar
-<001D> <0026>
-<0030> <0024>
-<004F> <0023>
-<0057> <0025>
-endbfchar
-endcmap
-CMapName currentdict /CMap defineresource pop
-end
-end
-endstream
-endobj
-11 0 obj
-<</Subtype/CIDFontType0C/Length 1229>>
-[BINARY STREAM]
-endobj
-12 0 obj
-[29[525]48[525]79[525]87[525]]
-endobj
-13 0 obj
-<</Length 11>>
-[BINARY STREAM]
-endobj
-4 0 obj
-<</Type/Font/Subtype/CIDFontType0/BaseFont/APWWDF+LMMono10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
-0>>/FontDescriptor 10 0 R/DW 280/W 12 0 R>>
-endobj
-10 0 obj
-<</Type/FontDescriptor/Ascent 778/Descent -222/StemV 69/CapHeight 778/AvgWidth 500/FontBBox[-451
--316 731 1016]/ItalicAngle 0/Flags 7/Style<</Panose<000000000509000000000000>>>/FontName/APWWDF+LMMono10-Regular/FontFile3
-11 0 R/CIDSet 13 0 R>>
-endobj
-5 0 obj
-<</Type/Font/Subtype/Type0/BaseFont/APWWDF+LMMono10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[4 0 R]/ToUnicode
-9 0 R>>
-endobj
-xref
-0 14
-0000000000 65535 f 
-0000000511 00000 n 
-0000000420 00000 n 
-0000000266 00000 n 
-0000002464 00000 n 
-0000002911 00000 n 
-0000000015 00000 n 
-0000000188 00000 n 
-0000000341 00000 n 
-0000000556 00000 n 
-0000002652 00000 n 
-0000001055 00000 n 
-0000002357 00000 n 
-0000002404 00000 n 
-trailer
-<</Root 1 0 R/Info 2 0 R/ID[<8ab21473a2ed67173943f0014488ccf6><8ab21473a2ed67173943f0014488ccf6>]/Size
-14>>
-startxref
-3058
-%%EOF





More information about the latex3-commits mailing list