Skip to content

Commit

Permalink
Update l3build-check.lua
Browse files Browse the repository at this point in the history
runtest_tasks called only once
  • Loading branch information
jlaurens authored and josephwright committed Jul 1, 2024
1 parent 5dfcaea commit 48ab867
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions l3build-check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,9 @@ 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 runtest_tasks(jobname(lvtfile),i) ~= "" then
local errorlevel =
runcmd(preamble .. runtest_tasks(jobname(lvtfile),i),testdir)
local tasks = runtest_tasks(jobname(lvtfile),i)
if tasks ~= "" then
local errorlevel = runcmd(preamble .. tasks,testdir)
if errorlevel ~= 0 then errlevels[i] = errorlevel end
end
-- Break the loop if the result is stable
Expand Down

0 comments on commit 48ab867

Please sign in to comment.