[latex3-commits] [git/LaTeX3-latex3-l3build] master: Better support for LuaTeX53, etc. (dc35f6d)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Feb 5 15:49:32 CET 2019


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

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

commit dc35f6d24c3b48b899b4b91d89394bbd22e1e381
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Feb 5 14:49:32 2019 +0000

    Better support for LuaTeX53, etc.


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

dc35f6d24c3b48b899b4b91d89394bbd22e1e381
 l3build-check.lua |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index 87d8d3f..a04499c 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -543,7 +543,7 @@ function runcheck(name, hide)
   -- Used for both .lvt and .pvt tests
   local function check_and_diff(ext,engine,enginename,comp,pdftest)
     runtest(name,engine,hide,ext,pdftest,true)
-    local errorlevel = comp(name,enginename)
+    local errorlevel = comp(name,engine,enginename)
     if errorlevel ~= 0 and options["halt-on-error"] then
       showfaileddiff()
       return 1
@@ -610,9 +610,10 @@ function setup_check(name, engine)
   end
 end
 
-function compare_pdf(name,engine,cleanup)
+function compare_pdf(name,engine,enginename,cleanup)
   local testname = name .. "." .. engine
-  local difffile = testdir .. "/" .. testname .. pdfext .. os_diffext
+  local difffile = testdir .. "/" .. name .. "." .. enginename
+    .. pdfext .. os_diffext
   local pdffile  = testdir .. "/" .. testname .. pdfext
   local tpffile  = locate({testdir}, {testname .. tpfext, name .. tpfext})
   if not tpffile then
@@ -626,10 +627,10 @@ function compare_pdf(name,engine,cleanup)
   return errorlevel
 end
 
-function compare_tlg(name, engine,cleanup)
+function compare_tlg(name,engine,enginename,cleanup)
   local errorlevel
   local testname = name .. "." .. engine
-  local difffile = testdir .. "/" .. testname .. os_diffext
+  local difffile = testdir .. "/" .. name .. "." .. enginename .. os_diffext
   local logfile  = testdir .. "/" .. testname .. logext
   local tlgfile  = locate({testdir}, {testname .. tlgext, name .. tlgext})
   if not tlgfile then





More information about the latex3-commits mailing list