[latex3-commits] [latex3/l3build] main: Avoid a syntax warning on Windows (d1dccb5)

github at latex-project.org github at latex-project.org
Tue Dec 12 14:00:55 CET 2023


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

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

commit d1dccb5129a6690b26b8b33d4b6cda73239610f3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Dec 12 13:00:55 2023 +0000

    Avoid a syntax warning on Windows
    
    This is needed as Windows doesn't like the output
    suppression.


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

d1dccb5129a6690b26b8b33d4b6cda73239610f3
 CHANGELOG.md      | 3 +++
 l3build-check.lua | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index ba6b1de..dec3a30 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Fixed
+- Syntax warning on Windows with some test setups
+
 ## [2023-12-12]
 
 ### Changed
diff --git a/l3build-check.lua b/l3build-check.lua
index 2126f57..e846e8a 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -826,8 +826,7 @@ function runtest(name, engine, hide, ext, test_type, breakout)
     -- from the main run, so we split into two parts.
     if errlevels[i] == 0 then
       local errorlevel =
-        runcmd(preamble .. runtest_tasks(jobname(lvtfile),i)
-        .. (hide and (" > " .. os_null) or ""),testdir)
+        runcmd(preamble .. runtest_tasks(jobname(lvtfile),i),testdir)
       if errorlevel ~= 0 then errlevels[i] = errorlevel end
     end
     -- Break the loop if the result is stable





More information about the latex3-commits mailing list.