[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Skip format building when rerunning tests (dd18027)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Feb 21 11:19:50 CET 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/dd18027310a8a22b580550c8b34893713fa65ad6

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

commit dd18027310a8a22b580550c8b34893713fa65ad6
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Feb 21 10:19:50 2018 +0000

    Skip format building when rerunning tests


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

dd18027310a8a22b580550c8b34893713fa65ad6
 base/build.lua |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/base/build.lua b/base/build.lua
index 833f6a1..ef38281 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -191,7 +191,9 @@ end
 function main (target, file, engine)
   local errorlevel
   if target == "check" then
-    format ()
+    if not options["rerun"] then
+      format()
+    end
     errorlevel = check (file, engine)
   elseif target == "clean" then
     errorlevel = clean ()





More information about the latex3-commits mailing list