[latex3-commits] [git/LaTeX3-latex3-l3build] master: Print tet failures correctly per-config (fixes #77) (814dc50)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Nov 8 18:42:30 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/814dc505f855b5149a92ca3f16bf9c7b1f2981c0

>---------------------------------------------------------------

commit 814dc505f855b5149a92ca3f16bf9c7b1f2981c0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Nov 8 17:42:30 2018 +0000

    Print tet failures correctly per-config (fixes #77)


>---------------------------------------------------------------

814dc505f855b5149a92ca3f16bf9c7b1f2981c0
 CHANGELOG.md |    4 ++++
 l3build.lua  |    3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c433e8..1e33494 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,10 @@ this project uses date-based 'snapshot' version identifiers.
 
 - Strip leading spaces from file loading/page number lines (see #78)
 
+### Fixed
+
+- Print tet failures correctly per-config (see #77)
+
 ## [2018-10-30]
 
 ### Fixed
diff --git a/l3build.lua b/l3build.lua
index ee17fe2..cff7941 100755
--- a/l3build.lua
+++ b/l3build.lua
@@ -154,8 +154,9 @@ if options["target"] == "check" then
       for _,config in ipairs(failed) do
         print("Failed tests for configuration " .. config .. ":")
         print("\n  Check failed with difference files")
+        local testdir = testdir
         if config ~= "build" then
-          local testdir = testdir .. "-" .. config
+          testdir = testdir .. "-" .. config
         end
         for _,i in ipairs(filelist(testdir,"*" .. os_diffext)) do
           print("  - " .. testdir .. "/" .. i)





More information about the latex3-commits mailing list