[latex3-commits] [git/LaTeX3-latex3-l3build] master: Better error message for missing test (fixes #72) (a08033e)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Sep 21 11:11:08 CEST 2018


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

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

commit a08033ea83e03ad08294fb7e21ca77a6b506454a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 21 10:11:08 2018 +0100

    Better error message for missing test (fixes #72)


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

a08033ea83e03ad08294fb7e21ca77a6b506454a
 l3build-check.lua |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index de01514..aff758f 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -526,7 +526,10 @@ end
 -- Run one test which may have multiple engine-dependent comparisons
 -- Should create a difference file for each failed test
 function runcheck(name, hide)
-  if not testexists(name) then return 1 end
+  if not testexists(name) then
+    print("Failed to find input for test " .. name)
+    return 1
+  end
   local checkengines = checkengines
   if options["engine"] then
     checkengines = options["engine"]





More information about the latex3-commits mailing list