[latex3-commits] [git/LaTeX3-latex3-l3build] master: Apply -H setting to configs (3b8988b)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Aug 3 21:57:21 CEST 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/3b8988b829036c6a1cf51ad4668c9ee52ecaaf3a

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

commit 3b8988b829036c6a1cf51ad4668c9ee52ecaaf3a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Aug 3 20:57:21 2018 +0100

    Apply -H setting to configs


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

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c5d242..769f6c4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ this project uses date-based 'snapshot' version identifiers.
 ### Changed
 - Run PDF-based tests for all engines
 - Tweaks to PDF-based normalisation: new .tpf files will be required
+- The --halt-on-error|-H setting now applies to multiple configs
 
 ### Fixed
 - Testing using .lve files
diff --git a/l3build.lua b/l3build.lua
index 5cefd6d..3853d98 100755
--- a/l3build.lua
+++ b/l3build.lua
@@ -126,7 +126,7 @@ if options["target"] == "check" then
     for i = 1, #checkconfigs do
       opts["config"] = {checkconfigs[i]}
       errorlevel = call({"."}, "check", opts)
-      if errorlevel ~= 0 then exit(1) end
+      if errorlevel ~= 0 and options["halt-on-error"] then exit(1) end
     end
     -- Avoid running the 'main' set of tests twice
     exit(0)





More information about the latex3-commits mailing list