diff options
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build.lua')
-rwxr-xr-x | Master/texmf-dist/scripts/l3build/l3build.lua | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build.lua b/Master/texmf-dist/scripts/l3build/l3build.lua index d97fecd8298..827d3856a74 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 = "2018-09-21" +release_date = "2018-09-23" -- File operations are aided by the LuaFileSystem module local lfs = require("lfs") @@ -137,9 +137,16 @@ if options["target"] == "check" then end end if next(failed) then - print(" Failed tests for configs:") for _,config in ipairs(failed) do - print(" - " .. config) + print("Failed tests for configuration " .. config .. ":") + print("\n Check failed with difference files") + if failed ~= "build" then + local testdir = testdir .. "-" .. failed + end + for _,i in ipairs(filelist(testdir,"*" .. os_diffext)) do + print(" - " .. testdir .. "/" .. i) + end + print("") end exit(1) else @@ -154,6 +161,7 @@ if #checkconfigs == 1 and local config = "./" .. checkconfigs[1] .. ".lua" if fileexists(config) then dofile(config) + testdir = testdir .. "-" .. checkconfigs[1] else print("Error: Cannot find configuration " .. checkconfigs[1]) exit(1) |