summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3build/l3build-check.lua
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-12-14 03:02:23 +0000
committerNorbert Preining <norbert@preining.info>2023-12-14 03:02:23 +0000
commit08c9c5238d01d9b5949ae48f659d06da1665734a (patch)
tree63b543e4ccfe2e5d2a5dc0620477baa22b40b358 /macros/latex/contrib/l3build/l3build-check.lua
parentf914c275329785103a123c35a5d1e5db321c7adf (diff)
CTAN sync 202312140302
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-check.lua')
-rw-r--r--macros/latex/contrib/l3build/l3build-check.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/macros/latex/contrib/l3build/l3build-check.lua b/macros/latex/contrib/l3build/l3build-check.lua
index 75e2fc2bcf..3718d172dd 100644
--- a/macros/latex/contrib/l3build/l3build-check.lua
+++ b/macros/latex/contrib/l3build/l3build-check.lua
@@ -822,12 +822,11 @@ function runtest(name, engine, hide, ext, test_type, breakout)
.. (hide and (" > " .. os_null) or ""),
testdir
)
- -- On Windows, concatenting here will suppress any non-zero errorlevel
+ -- On Windows, concatenating here will suppress any non-zero errorlevel
-- from the main run, so we split into two parts.
- if errlevels[i] == 0 then
+ if errlevels[i] == 0 and runtest_tasks("X",0) ~= "" then
local errorlevel =
- runcmd(preamble .. runtest_tasks(jobname(lvtfile),i)
- .. (hide and (" > " .. os_null) or ""),testdir)
+ runcmd(preamble .. runtest_tasks(jobname(lvtfile),i),testdir)
if errorlevel ~= 0 then errlevels[i] = errorlevel end
end
-- Break the loop if the result is stable