[latex3-commits] [git/LaTeX3-latex3-l3build] master: Rename a parameter (2c662ee)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jul 30 16:56:48 CEST 2018


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

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

commit 2c662eedcc68daa20bb424f308159f37574e5bd3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Jul 30 15:56:48 2018 +0100

    Rename a parameter


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

2c662eedcc68daa20bb424f308159f37574e5bd3
 l3build-check.lua |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index f70b522..d2af793 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -639,7 +639,7 @@ end
 
 -- Run one of the test files: doesn't check the result so suitable for
 -- both creating and verifying .tlg files
-function runtest(name, engine, hide, ext, makepdf, breakout)
+function runtest(name, engine, hide, ext, pdfmode, breakout)
   local lvtfile = name .. (ext or lvtext)
   cp(lvtfile, fileexists(testfiledir .. "/" .. lvtfile)
     and testfiledir or unpackdir, testdir)
@@ -668,7 +668,7 @@ function runtest(name, engine, hide, ext, makepdf, breakout)
   end
   -- Special casing for XeTeX engine
   local checkopts = checkopts
-  if match(engine, "xetex") and not makepdf then
+  if match(engine, "xetex") and not pdfmode then
     checkopts = checkopts .. " -no-pdf"
   end
   -- Special casing for ConTeXt
@@ -732,7 +732,7 @@ function runtest(name, engine, hide, ext, makepdf, breakout)
       end
     end
   end
-  if makepdf and fileexists(testdir .. "/" .. name .. dviext) then
+  if pdfmode and fileexists(testdir .. "/" .. name .. dviext) then
     dvitopdf(name, testdir, engine, hide)
   end
   formatlog(logfile, newfile, engine, errlevels)





More information about the latex3-commits mailing list