Skip to content

Commit

Permalink
Always execute "runtest_tasks()" (closes #327)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Jan 4, 2024
1 parent 4707b06 commit 2371f4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

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(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
Expand Down

0 comments on commit 2371f4c

Please sign in to comment.