summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/l3build/l3build-variables.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-variables.lua')
-rw-r--r--Master/texmf-dist/scripts/l3build/l3build-variables.lua22
1 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-variables.lua b/Master/texmf-dist/scripts/l3build/l3build-variables.lua
index 87ce01d611f..e3ae64e13be 100644
--- a/Master/texmf-dist/scripts/l3build/l3build-variables.lua
+++ b/Master/texmf-dist/scripts/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"