Skip to content

Commit

Permalink
Use 'live' arg. to runtest_task() for blank test (fixes #327)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Dec 15, 2023
1 parent d6079bf commit d8d7389
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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
- Test for blank `runtest_task()` (issue \#327)

## [2023-12-13-2]

## [2023-12-13]
Expand Down
2 changes: 1 addition & 1 deletion l3build-check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8d7389

Please sign in to comment.