summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3build/l3build-check.lua
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-check.lua')
-rw-r--r--macros/latex/contrib/l3build/l3build-check.lua13
1 files changed, 9 insertions, 4 deletions
diff --git a/macros/latex/contrib/l3build/l3build-check.lua b/macros/latex/contrib/l3build/l3build-check.lua
index 8bafe0591c..17e6321787 100644
--- a/macros/latex/contrib/l3build/l3build-check.lua
+++ b/macros/latex/contrib/l3build/l3build-check.lua
@@ -1,6 +1,6 @@
--[[
-File l3build-check.lua Copyright (C) 2018,2019 The LaTeX3 Project
+File l3build-check.lua Copyright (C) 2018-2020 The LaTeX3 Project
It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -292,9 +292,14 @@ local function normalize_log(content,engine,errlevels)
if recordstatus then
new_content = new_content .. '***************' .. os_newline
for i = 1, checkruns do
- new_content = new_content ..
- 'Compilation ' .. i .. ' of test file completed with exit status ' ..
- errlevels[i] .. os_newline
+ if (errlevels[i]==nil) then
+ new_content = new_content ..
+ 'Compilation ' .. i .. ' of test file skipped ' .. os_newline
+ else
+ new_content = new_content ..
+ 'Compilation ' .. i .. ' of test file completed with exit status ' ..
+ errlevels[i] .. os_newline
+ end
end
end
return new_content