[latex3-commits] [git/LaTeX3-latex3-l3build] regenerate: Add recheck instructions (425dd49)
Marcel Fabian Krüger
tex at 2krueger.de
Thu May 27 02:52:24 CEST 2021
Repository : https://github.com/latex3/l3build
On branch : regenerate
Link : https://github.com/latex3/l3build/commit/425dd49fe153dcedd5d22ed57da3fe061c9061b2
>---------------------------------------------------------------
commit 425dd49fe153dcedd5d22ed57da3fe061c9061b2
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Thu May 27 02:52:24 2021 +0200
Add recheck instructions
>---------------------------------------------------------------
425dd49fe153dcedd5d22ed57da3fe061c9061b2
l3build-check.lua | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/l3build-check.lua b/l3build-check.lua
index d17507e..e708220 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -984,9 +984,12 @@ end
-- A short auxiliary to print the list of differences for check
function showsavecommands(failurelist)
local savecmds = {}
- local prefix = " l3build save"
- if options.config then
- prefix = prefix .. " -c " .. options.config[1]
+ local hascheckcmd, checkcmd = false, "l3build check"
+ local prefix = "l3build save"
+ if options.config and options.config ~= 'build' then
+ local config = " -c " .. options.config[1]
+ prefix = prefix .. config
+ checkcmd = checkcmd .. config
end
for name, engines in pairs(failurelist) do
for i = 1, #engines do
@@ -1000,11 +1003,18 @@ function showsavecommands(failurelist)
end
end
savecmds[engine] = cmd .. " " .. name
+ if engine == stdengine then
+ hascheckcmd, checkcmd = true, checkcmd .. " " .. name
+ end
end
end
- print("\n To regenerate the test files, run")
+ print(" To regenerate the test files, run\n")
for _, cmds in pairs(savecmds) do
- print(cmds)
+ print(" " .. cmds)
+ end
+ if hascheckcmd then
+ print("\n Afterwards test for engine specific changes using\n")
+ print(" " .. checkcmd)
end
print("")
end
More information about the latex3-commits
mailing list.