[latex3-commits] [git/LaTeX3-latex3-l3build] forcecheckruns: Add forcecheckruns option (8b0a4a7)

Marcel Fabian Krüger tex at 2krueger.de
Thu Jul 8 16:10:41 CEST 2021


Repository : https://github.com/latex3/l3build
On branch  : forcecheckruns
Link       : https://github.com/latex3/l3build/commit/8b0a4a737a3b24ffd8b96fee084d13355ce908a6

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

commit 8b0a4a737a3b24ffd8b96fee084d13355ce908a6
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Thu Jul 8 16:10:41 2021 +0200

    Add forcecheckruns option


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

8b0a4a737a3b24ffd8b96fee084d13355ce908a6
 l3build-check.lua | 2 +-
 l3build.dtx       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index 68fa3ef..f83dee4 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -578,7 +578,7 @@ function runcheck(name, hide)
   -- Used for both .lvt and .pvt tests
   local test_type = test_types[kind]
   local function check_and_diff(engine)
-    runtest(name, engine, hide, test_type.test, test_type, true)
+    runtest(name, engine, hide, test_type.test, test_type, not forcecheckruns)
     local errorlevel = base_compare(test_type,name,engine)
     if errorlevel == 0 then
       return errorlevel
diff --git a/l3build.dtx b/l3build.dtx
index e271da3..74c4275 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -148,6 +148,7 @@
 \luavarseparator
 \luavarset{asciiengines}{\{"pdftex"\}}{Engines which should log as pure ASCII}
 \luavarset{checkruns}   {1}           {Number of runs to complete for a test before comparing the log}
+\luavarset{forcecheckruns}{false}     {Always run \texttt{checkruns} runs and never stop early}
 \luavarset{ctanreadme}{"README.md"}   {Name of the file to send to CTAN as \texttt{README.\meta{ext}}}
 \luavarset{ctanzip}{ctanpkg ... "-ctan"}{Name of the zip file (without extension) created for upload to CTAN}
 \luavarset{epoch}       {1463734800}  {Epoch (Unix date) to set for test runs}





More information about the latex3-commits mailing list.