[latex3-commits] [latex3/l3build] main: Use 'live' arg. to runtest_task() for blank test (fixes #327) (d8d7389)

github at latex-project.org github at latex-project.org
Fri Dec 15 20:12:01 CET 2023


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

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

commit d8d738932753abfc59d5bfdfafc49f50f21013f4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Dec 15 19:11:07 2023 +0000

    Use 'live' arg. to runtest_task() for blank test (fixes #327)


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

d8d738932753abfc59d5bfdfafc49f50f21013f4
 CHANGELOG.md      | 3 +++
 l3build-check.lua | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 71d207d..a3fcbc3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Fixed
+- Test for blank `runtest_task()` (issue \#327)
+
 ## [2023-12-13-2]
 
 ## [2023-12-13]
diff --git a/l3build-check.lua b/l3build-check.lua
index 19ddef0..65366c9 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("X",0) ~= "" then
+    if errlevels[i] == 0 and 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.