[latex3-commits] [git/LaTeX3-latex3-l3build] master: Always return an errorlevel (3c81478)

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


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

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

commit 3c8147830f4235d0ba11fb8af05c04263f4b8624
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Mar 21 10:04:19 2018 +0000

    Always return an errorlevel


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

3c8147830f4235d0ba11fb8af05c04263f4b8624
 l3build-check.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index 2239fe9..fbecccd 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -595,7 +595,7 @@ function compare_tlg(name, engine)
   local logfile  = testdir .. "/" .. testname .. logext
   local tlgfile  = locate({testdir}, {testname .. tlgext, name .. tlgext})
   if not tlgfile then
-    return
+    return 1
   end
   -- Do additional log formatting if the engine is LuaTeX, there is no
   -- LuaTeX-specific .tlg file and the default engine is not LuaTeX





More information about the latex3-commits mailing list