From 2371f4c17e0de716a698c7ffef486c03344fb922 Mon Sep 17 00:00:00 2001 From: Joseph Wright Date: Thu, 4 Jan 2024 10:00:01 +0000 Subject: [PATCH] Always execute "runtest_tasks()" (closes #327) --- CHANGELOG.md | 1 + l3build-check.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78b7913..ed9b4f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/l3build-check.lua b/l3build-check.lua index c074054..84e6174 100644 --- a/l3build-check.lua +++ b/l3build-check.lua @@ -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