[latex3-commits] [latex3/latex3] main: Split out pTeX tests (f80e74e29)

github at latex-project.org github at latex-project.org
Thu Jul 20 10:24:45 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/f80e74e29d8f28c6f7bfbf56de891d6908ef6cb7

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

commit f80e74e29d8f28c6f7bfbf56de891d6908ef6cb7
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jul 20 09:19:10 2023 +0100

    Split out pTeX tests
    
    As upTeX is now used to build platex,
    the results are almost the same between the
    two "engines".


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

f80e74e29d8f28c6f7bfbf56de891d6908ef6cb7
 build-config.lua         |  4 ++--
 l3kernel/build.lua       |  2 +-
 l3kernel/config-ptex.lua | 24 ++++++++++++++++++++++++
 3 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/build-config.lua b/build-config.lua
index 50313e3dd..6bbef35d2 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -4,7 +4,7 @@ checkdeps   = checkdeps   or {maindir .. "/l3backend", maindir .. "/l3kernel"}
 typesetdeps = typesetdeps or checkdeps
 
 checkengines    = checkengines
-  or {"pdftex", "xetex", "luatex", "ptex", "uptex"}
+  or {"pdftex", "xetex", "luatex", "uptex"}
 checksuppfiles  = checksuppfiles  or
   {
     "regression-test.cfg",
@@ -170,4 +170,4 @@ end
 specialformats = specialformats or { }
 specialformats.latex = specialformats.latex or { }
 specialformats.latex.ptex = specialformats.latex.ptex or
-   {binary = "euptex", options = "-kanji-internal=euc"}
\ No newline at end of file
+  {binary = "euptex", options = "-kanji-internal=euc"}
\ No newline at end of file
diff --git a/l3kernel/build.lua b/l3kernel/build.lua
index 93f9bf2a5..9ca3ee3bf 100644
--- a/l3kernel/build.lua
+++ b/l3kernel/build.lua
@@ -11,7 +11,7 @@ maindir = ".."
 docfiledir = "./doc"
 
 -- Non-standard settings
-checkconfigs = {"build", "config-backend", "config-l3doc", "config-plain"}
+checkconfigs = {"build", "config-ptex","config-backend","config-l3doc", "config-plain"}
 checkfiles   = {"l3names.def"}
 cleanfiles   = {"*.fmt", "*.log", "*.pdf", "*.zip"}
 docfiles     = {"source3body.tex", "l3prefixes.csv"}
diff --git a/l3kernel/config-ptex.lua b/l3kernel/config-ptex.lua
new file mode 100644
index 000000000..70a4b09f8
--- /dev/null
+++ b/l3kernel/config-ptex.lua
@@ -0,0 +1,24 @@
+checkengines = {"ptex"}
+ -- Make sure that any .tlg files are engine-specific
+stdengine = "pdftex"
+includetests =
+  {
+    "m3box001",
+    "m3char001",
+    "m3coffins001",
+    "m3expl001",
+    "m3expl002",
+    "m3expl003",
+    "m3expl006",
+    "m3expl007",
+    "m3int002",
+    "m3ior001",
+    "m3iow001",
+    "m3pdf001",
+    "m3sort001",
+    "m3str-convert005",
+    "m3str002",
+    "m3text002",
+    "m3text003",
+    "m3text005"
+  }
\ No newline at end of file





More information about the latex3-commits mailing list.