Skip to content

Commit

Permalink
Avoid a syntax warning on Windows
Browse files Browse the repository at this point in the history
This is needed as Windows doesn't like the output
suppression.
  • Loading branch information
josephwright committed Dec 12, 2023
1 parent 71744f5 commit d1dccb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions l3build-check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1dccb5

Please sign in to comment.