[latex3-commits] [git/LaTeX3-latex3-l3build] master: Update l3build-check.lua (e99bc52)

LAURENS Jérôme jerome.laurens at u-bourgogne.fr
Sun Feb 21 13:41:22 CET 2021


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

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

commit e99bc52c103eddd9474b721efc91cff97a0e8621
Author: LAURENS Jérôme <jerome.laurens at u-bourgogne.fr>
Date:   Sun Feb 21 13:41:22 2021 +0100

    Update l3build-check.lua
    
    format → format_a


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

e99bc52c103eddd9474b721efc91cff97a0e8621
 l3build-check.lua | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index 08be469..c74d3a2 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -698,7 +698,7 @@ function runtest(name, engine, hide, ext, pdfmode, breakout)
   local checkopts = checkopts
   engine = engine or stdengine
   local binary = engine
-  format = gsub(engine,"tex$",checkformat)
+  local format_a = gsub(engine,"tex$",checkformat)
   -- Special binary/format combos
   if specialformats[checkformat] and next(specialformats[checkformat]) then
     local t = specialformats[checkformat]
@@ -706,12 +706,12 @@ function runtest(name, engine, hide, ext, pdfmode, breakout)
     if t_ngn and next(t_ngn) then
       binary    = t_ngn.binary  or binary
       checkopts = t_ngn.options or checkopts
-      format    = t_ngn.format  or format
+      format_a    = t_ngn.format  or format_a
     end
   end
   -- Finalise format string
-  if format ~= "" then
-    format = " --fmt=" .. format
+  if format_a ~= "" then
+    format_a = " --fmt=" .. format_a
   end
   -- Special casing for XeTeX engine
   if match(engine, "xetex") and not pdfmode then
@@ -768,7 +768,7 @@ function runtest(name, engine, hide, ext, pdfmode, breakout)
       -- Ensure lines are of a known length
       os_setenv .. " max_print_line=" .. maxprintline
         .. os_concat ..
-      binary .. format
+      binary .. format_a
         .. " " .. asciiopt .. " " .. checkopts
         .. setup(lvtfile)
         .. (hide and (" > " .. os_null) or "")





More information about the latex3-commits mailing list.