[latex3-commits] [latex3/l3build] main: Print failures correctly when these occur in multiple configs (761a672)

github at latex-project.org github at latex-project.org
Thu Jan 4 14:47:22 CET 2024


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/761a672a418a2f62a6a182c41ba86d1f73fa134d

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

commit 761a672a418a2f62a6a182c41ba86d1f73fa134d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jan 4 13:47:04 2024 +0000

    Print failures correctly when these occur in multiple configs


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

761a672a418a2f62a6a182c41ba86d1f73fa134d
 CHANGELOG.md      | 1 +
 l3build-check.lua | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index ed9b4f3..91364ab 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ this project uses date-based 'snapshot' version identifiers.
 ### Changed
 - Throw warnings on unknown doc name(s)
 - Always execute `runtest_tasks()` if set (issue \#327)
+- Print failures correctly when these occur in multiple configurations
 
 ## [2023-12-15]
 
diff --git a/l3build-check.lua b/l3build-check.lua
index 84e6174..1f2b04c 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -1057,6 +1057,10 @@ end
 
 -- A short auxiliary to print the list of differences for check
 function checkdiff(config)
+  local testdir = testdir
+  if config then
+    testdir = testdir .. "-" .. config
+  end
   local diff_files = ordered_filelist(testdir, "*" .. os_diffext)
   if next(diff_files) then
     if config then





More information about the latex3-commits mailing list.