[latex3-commits] [git/LaTeX3-latex3-l3build] master: Correct test for LuaTeX (fixes #93) (699e1cf)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Jun 27 11:22:48 CEST 2019


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

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

commit 699e1cfc668f7d7762011573d536f952184b79c7
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jun 27 10:22:48 2019 +0100

    Correct test for LuaTeX (fixes #93)


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

699e1cfc668f7d7762011573d536f952184b79c7
 CHANGELOG.md      | 4 ++++
 l3build-check.lua | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84ca6ed..83c80e9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Fixed
+
+- Correct test for LuaTeX (see #93)
+
 ## [2019-06-26]
 
 ### Added
diff --git a/l3build-check.lua b/l3build-check.lua
index 38e7f88..903a6c1 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -639,7 +639,7 @@ function compare_tlg(name,engine,cleanup)
   end
   -- Do additional log formatting if the engine is LuaTeX, there is no
   -- LuaTeX-specific .tlg file and the default engine is not LuaTeX
-  if match(engine,"^lua") or match(engine,"harf")
+  if (match(engine,"^lua") or match(engine,"^harf"))
     and not match(tlgfile, "%.luatex" .. "%" .. tlgext)
     and not match(stdengine,"^lua")
     then





More information about the latex3-commits mailing list