summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3build/l3build-check.lua
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-check.lua')
-rw-r--r--macros/latex/contrib/l3build/l3build-check.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/macros/latex/contrib/l3build/l3build-check.lua b/macros/latex/contrib/l3build/l3build-check.lua
index f016c25a62..94ffc671ef 100644
--- a/macros/latex/contrib/l3build/l3build-check.lua
+++ b/macros/latex/contrib/l3build/l3build-check.lua
@@ -1,6 +1,6 @@
--[[
-File l3build-check.lua Copyright (C) 2018-2021 The LaTeX Project
+File l3build-check.lua Copyright (C) 2018-2022 The LaTeX Project
It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -246,6 +246,10 @@ local function normalize_log(content,engine,errlevels)
if match(line, "^%.*\\special%{papersize") then
return ""
end
+ -- Remove bidi version in \special lines line
+ if match(line, "BIDI.Fullbanner") then
+ line = gsub(line,"Version %d*%.%d*", "Version ...")
+ end
-- Remove ConTeXt stuff
if match(line, "^backend >") or
match(line, "^close source >") or
@@ -750,6 +754,11 @@ function runtest(name, engine, hide, ext, test_type, breakout)
if match(checkformat,"^context$") then
function setup(file) return tokens .. ' "' .. file .. '" ' end
end
+ if match(binary,"make4ht") then
+ function setup(file) return tokens .. ' "' .. file .. '" ' end
+ format = ""
+ checkopts = ""
+ end
local basename = testdir .. "/" .. name
local gen_file = basename .. test_type.generated
local new_file = basename .. "." .. engine .. test_type.generated