[latex3-commits] [latex3/l3build] main: Always execute "runtest_tasks()" (closes #327) (2371f4c)

github at latex-project.org github at latex-project.org
Thu Jan 4 11:00:05 CET 2024


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/2371f4c17e0de716a698c7ffef486c03344fb922

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

commit 2371f4c17e0de716a698c7ffef486c03344fb922
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jan 4 10:00:01 2024 +0000

    Always execute "runtest_tasks()" (closes #327)


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

2371f4c17e0de716a698c7ffef486c03344fb922
 CHANGELOG.md      | 1 +
 l3build-check.lua | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 78b7913..ed9b4f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,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)
 
 ## [2023-12-15]
 
diff --git a/l3build-check.lua b/l3build-check.lua
index c074054..84e6174 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -824,7 +824,7 @@ function runtest(name, engine, hide, ext, test_type, breakout)
     )
     -- On Windows, concatenating here will suppress any non-zero errorlevel
     -- from the main run, so we split into two parts.
-    if errlevels[i] == 0 and runtest_tasks(jobname(lvtfile),i) ~= "" then
+    if runtest_tasks(jobname(lvtfile),i) ~= "" then
       local errorlevel =
         runcmd(preamble .. runtest_tasks(jobname(lvtfile),i),testdir)
       if errorlevel ~= 0 then errlevels[i] = errorlevel end





More information about the latex3-commits mailing list.