[latex3-commits] [latex3/l3build] main: Add switch -s|--stdengine (e1e1f70)
github at latex-project.org
github at latex-project.org
Thu Jan 18 08:19:21 CET 2024
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/e1e1f704b25d0dfe85d333e3082fa7b40dde4e60
>---------------------------------------------------------------
commit e1e1f704b25d0dfe85d333e3082fa7b40dde4e60
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Jan 17 09:36:03 2024 +0000
Add switch -s|--stdengine
>---------------------------------------------------------------
e1e1f704b25d0dfe85d333e3082fa7b40dde4e60
CHANGELOG.md | 3 +++
l3build-arguments.lua | 6 ++++++
l3build-check.lua | 4 +++-
l3build.1 | 2 ++
4 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 02ad017..54cb731 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Added
+- Switch `-s|--stdengine` to run a set of tests only with the standard engine
+ even where this varies between configs (issue \#343)
## [2024-01-09]
### Fixed
diff --git a/l3build-arguments.lua b/l3build-arguments.lua
index 800ea89..7304fdc 100644
--- a/l3build-arguments.lua
+++ b/l3build-arguments.lua
@@ -150,6 +150,12 @@ option_list =
desc = "Shuffles order of tests",
type = "boolean"
},
+ stdengine =
+ {
+ desc = "Run tests only with the standard engine",
+ short = "s",
+ type = "boolean"
+ },
texmfhome =
{
desc = "Location of user texmf tree",
diff --git a/l3build-check.lua b/l3build-check.lua
index 3542bce..78e74c0 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -595,7 +595,9 @@ function runcheck(name, hide)
return 1
end
local checkengines = checkengines
- if options["engine"] then
+ if options["stdengine"] then
+ checkengines = {stdengine}
+ elseif options["engine"] then
checkengines = options["engine"]
end
local failedengines = {}
diff --git a/l3build.1 b/l3build.1
index 5c2154c..ba1b39b 100644
--- a/l3build.1
+++ b/l3build.1
@@ -77,6 +77,8 @@ Shows the full log of the failure with 'halt-on-error'
Shows the invocation to update failing .tlg files
.IP --shuffle
Shuffles order of tests
+.IP --stdengine|-s
+Run tests only with the standard engine
.IP --texmfhome
Location of user texmf tree
.IP --version
More information about the latex3-commits
mailing list.