Skip to content

Commit

Permalink
Add switch -s|--stdengine
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Jan 17, 2024
1 parent 3d51aae commit 53e1c72
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions l3build-arguments.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 3 additions & 1 deletion l3build-check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down
2 changes: 2 additions & 0 deletions l3build.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53e1c72

Please sign in to comment.