summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/l3build/l3build-check.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-06 21:43:48 +0000
committerKarl Berry <karl@freefriends.org>2018-05-06 21:43:48 +0000
commit29c6fa1753bcd3f219f1b63db4b31be72f9f6824 (patch)
treec4efc0b30238a68fc5e18df5273d1de618b02003 /Master/texmf-dist/scripts/l3build/l3build-check.lua
parentfb14462cfe35d61f907e883323450f54025fd11e (diff)
l3build (6may18)
git-svn-id: svn://tug.org/texlive/trunk@47629 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-check.lua')
-rw-r--r--Master/texmf-dist/scripts/l3build/l3build-check.lua14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-check.lua b/Master/texmf-dist/scripts/l3build/l3build-check.lua
index a51dafd07c7..0a0caa67c1d 100644
--- a/Master/texmf-dist/scripts/l3build/l3build-check.lua
+++ b/Master/texmf-dist/scripts/l3build/l3build-check.lua
@@ -89,15 +89,10 @@ local function formatlog(logfile, newfile, engine, errlevels)
maxprintline = maxprintline + 1 -- Deal with an out-by-one error
end
local function killcheck(line)
- -- Skip lines containing file dates
- if match(line, "[^<]%d%d%d%d/%d%d/%d%d")
- or match(line, "[^<]%d%d%d%d%-%d%d%-%d%d") then
- return true
- elseif
-- Skip \openin/\openout lines in web2c 7.x
-- As Lua doesn't allow "(in|out)", a slightly complex approach:
-- do a substitution to check the line is exactly what is required!
- match(
+ if match(
gsub(line, "^\\openin", "\\openout"), "^\\openout%d%d? = "
) then
return true
@@ -138,6 +133,9 @@ local function formatlog(logfile, newfile, engine, errlevels)
line = gsub(line, pattern, "../%1")
end
end
+ -- Print only 'place-marker' (ISO) dates
+ line = gsub(line, "%d%d%d%d%-%d%d%-%d%d", "YYYY-MM-DD")
+ line = gsub(line, "%d%d%d%d/%d%d/%d%d", "YYYY-MM-DD")
-- Deal with the fact that "(.aux)" may have still a leading space
line = gsub(line, "^ %(%.aux%)", "(.aux)")
-- Merge all of .fd data into one line so will be removed later
@@ -690,6 +688,10 @@ function runtest(name, engine, hide, ext, makepdf, breakout)
break
end
end
+ -- Clean out any dynamic files
+ for _,filetype in pairs(dynamicfiles) do
+ rm(testdir,filetype)
+ end
local errlevels = {}
for i = 1, checkruns do
errlevels[i] = run(