[latex3-commits] [latex3/l3build] main: Combine engine-specific and general check options (85c2461)

github at latex-project.org github at latex-project.org
Thu Sep 7 12:16:18 CEST 2023


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/85c2461e35987f6c28a859e2175fffeedcd2d901

>---------------------------------------------------------------

commit 85c2461e35987f6c28a859e2175fffeedcd2d901
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Sep 7 11:16:18 2023 +0100

    Combine engine-specific and general check options


>---------------------------------------------------------------

85c2461e35987f6c28a859e2175fffeedcd2d901
 CHANGELOG.md      | 1 +
 l3build-check.lua | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2b58d29..3830d0f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ this project uses date-based 'snapshot' version identifiers.
 
 ### Changed
 - Refine `-utc` support
+- Apply `checkopts` in addition to engine-specific options
 
 ## [2023-09-05]
 
diff --git a/l3build-check.lua b/l3build-check.lua
index 3f1f5d5..3e26de4 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -753,7 +753,8 @@ function runtest(name, engine, hide, ext, test_type, breakout)
     if engine_info then
       binary    = engine_info.binary  or binary
       format    = engine_info.format  or format
-      checkopts = engine_info.options or checkopts
+      checkopts = (engine_info.options
+        and (checkopts .. " " ..  engine_info.options)) or checkopts
       tokens    = engine_info.tokens and (' "' .. engine_info.tokens .. '" ')
                     or tokens
     end





More information about the latex3-commits mailing list.