[latex3-commits] [git/LaTeX3-latex3-l3build] master: Allow for manual engine over-ride in PDF tests (a14e826)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Aug 2 16:36:14 CEST 2018
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/a14e8268d40087e8ca0cc3d01b6419ea65933d86
>---------------------------------------------------------------
commit a14e8268d40087e8ca0cc3d01b6419ea65933d86
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Aug 2 15:36:14 2018 +0100
Allow for manual engine over-ride in PDF tests
>---------------------------------------------------------------
a14e8268d40087e8ca0cc3d01b6419ea65933d86
l3build-check.lua | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/l3build-check.lua b/l3build-check.lua
index c84f3b2..1115eee 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -566,9 +566,12 @@ function runcheck(name, hide)
end
-- Then check by PDF
if fileexists(testfiledir .. "/" .. name .. pvtext) then
- setup_check(name, stdengine)
- errorlevel = check_and_diff(pvtext,stdengine,stdengine,compare_pdf,true)
- + errorlevel
+ local engines = options["engine"] or {stdengine}
+ for _,engine in engines do
+ setup_check(name,engine)
+ errorlevel = check_and_diff(pvtext,engine,engine,compare_pdf,true)
+ + errorlevel
+ end
end
-- Return everything
return errorlevel
More information about the latex3-commits
mailing list