summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/l3build
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/l3build')
-rw-r--r--Master/texmf-dist/scripts/l3build/l3build-check.lua3
-rwxr-xr-xMaster/texmf-dist/scripts/l3build/l3build.lua25
2 files changed, 18 insertions, 10 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-check.lua b/Master/texmf-dist/scripts/l3build/l3build-check.lua
index 3f1f5d55426..3e26de429be 100644
--- a/Master/texmf-dist/scripts/l3build/l3build-check.lua
+++ b/Master/texmf-dist/scripts/l3build/l3build-check.lua
@@ -753,7 +753,8 @@ function runtest(name, engine, hide, ext, test_type, breakout)
if engine_info then
binary = engine_info.binary or binary
format = engine_info.format or format
- checkopts = engine_info.options or checkopts
+ checkopts = (engine_info.options
+ and (checkopts .. " " .. engine_info.options)) or checkopts
tokens = engine_info.tokens and (' "' .. engine_info.tokens .. '" ')
or tokens
end
diff --git a/Master/texmf-dist/scripts/l3build/l3build.lua b/Master/texmf-dist/scripts/l3build/l3build.lua
index 66f50e96419..1ac608c9711 100755
--- a/Master/texmf-dist/scripts/l3build/l3build.lua
+++ b/Master/texmf-dist/scripts/l3build/l3build.lua
@@ -25,7 +25,7 @@ for those people who are interested.
--]]
-- Version information
-release_date = "2023-09-05"
+release_date = "2023-09-07"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
@@ -118,15 +118,22 @@ if options["epoch"] then
end
epoch = normalise_epoch(epoch)
-- LuaTeX needs the `-utc` option
-if next(specialformats) and next(specialformats.latex)
- and next (specialformats.latex.luatex) then
- local options = specialformats.latex.luatex.options
- specialformats.latex.luatex.options = (options and (options .. " ") or "") .. "-utc"
+if forcecheckepoch then
+ if next(specialformats) and next(specialformats.latex)
+ and next (specialformats.latex.luatex) then
+ local options = specialformats.latex.luatex.options
+ specialformats.latex.luatex.options = (options and (options .. " ") or "") .. "-utc"
+ end
+ if next(specialformats) and next(specialformats["latex-dev"])
+ and next (specialformats["latex-dev"].luatex) then
+ local options = specialformats["latex-dev"].luatex.options
+ specialformats["latex-dev"].luatex.options = (options and (options .. " ") or "") .. "-utc"
+ end
end
-if next(specialformats) and next(specialformats["latex-dev"])
- and next (specialformats["latex-dev"].luatex) then
- local options = specialformats["latex-dev"].luatex.options
- specialformats["latex-dev"].luatex.options = (options and (options .. " ") or "") .. "-utc"
+if forcedocepoch then
+ if match(typesetexe,"luatex") or match(typesetexe,"lualatex") then
+ typesetopts = typsetopts .. " -utc"
+ end
end
--