summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/l3build/l3build.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-24 20:23:18 +0000
committerKarl Berry <karl@freefriends.org>2018-09-24 20:23:18 +0000
commita495fe970496337011c0698a03476ce888a26105 (patch)
tree592b35bc873870f28ec4883e3ba0fdd6a4d68119 /Master/texmf-dist/scripts/l3build/l3build.lua
parent68966bb4bfd52e8d9d91b9fd5e6ff36d3d74a57e (diff)
l3 (24sep18)
git-svn-id: svn://tug.org/texlive/trunk@48749 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build.lua')
-rwxr-xr-xMaster/texmf-dist/scripts/l3build/l3build.lua14
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)