summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3build/l3build-variables.lua
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-06 03:00:58 +0000
committerNorbert Preining <norbert@preining.info>2021-05-06 03:00:58 +0000
commit25f20b6d8ccd4edcdfec23c1a3c908516076ee06 (patch)
treef889e071118d7d2db80066d14d14b020c50a2238 /macros/latex/contrib/l3build/l3build-variables.lua
parent75db33dc347ec9cfbaa2f3ec538a2697351f571b (diff)
CTAN sync 202105060300
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-variables.lua')
-rw-r--r--macros/latex/contrib/l3build/l3build-variables.lua22
1 files changed, 19 insertions, 3 deletions
diff --git a/macros/latex/contrib/l3build/l3build-variables.lua b/macros/latex/contrib/l3build/l3build-variables.lua
index 87ce01d611..e3ae64e13b 100644
--- a/macros/latex/contrib/l3build/l3build-variables.lua
+++ b/macros/latex/contrib/l3build/l3build-variables.lua
@@ -1,6 +1,6 @@
--[[
-File l3build-variables.lua Copyright (C) 2018-2020 The LaTeX3 Project
+File l3build-variables.lua Copyright (C) 2018-2020 The LaTeX Project
It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -22,8 +22,6 @@ for those people who are interested.
--]]
-local exit = os.exit
-
-- "module" is a deprecated function in Lua 5.2: as we want the name
-- for other purposes, and it should eventually be 'free', simply
-- remove the built-in
@@ -209,6 +207,24 @@ pvtext = pvtext or ".pvt"
tlgext = tlgext or ".tlg"
tpfext = tpfext or ".tpf"
+test_types = test_types or { }
+test_types.log = test_types.log or {
+ test = lvtext,
+ generated = logext,
+ reference = tlgext,
+ expectation = lveext,
+ compare = compare_tlg,
+ rewrite = rewrite_log,
+}
+test_types.pdf = test_types.pdf or {
+ test = pvtext,
+ generated = pdfext,
+ reference = tpfext,
+ rewrite = rewrite_pdf,
+}
+
+test_order = test_order or {"log", "pdf"}
+
-- Manifest options
manifestfile = manifestfile or "MANIFEST.md"