summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3build/l3build-check.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-21 23:34:25 +0000
committerKarl Berry <karl@freefriends.org>2018-02-21 23:34:25 +0000
commitc615296cb3fb6bf46114cf3deb409b0134498006 (patch)
tree47744d5018fb06a4bab35ba37d86539878753ea8 /Master/texmf-dist/tex/latex/l3build/l3build-check.lua
parent9ec5a0dd78d3a039a20d046c083e33a1e52cb377 (diff)
l3build (21feb18)
git-svn-id: svn://tug.org/texlive/trunk@46706 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3build/l3build-check.lua')
-rw-r--r--Master/texmf-dist/tex/latex/l3build/l3build-check.lua16
1 files changed, 6 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/l3build/l3build-check.lua b/Master/texmf-dist/tex/latex/l3build/l3build-check.lua
index 40c28561253..66319cc62bf 100644
--- a/Master/texmf-dist/tex/latex/l3build/l3build-check.lua
+++ b/Master/texmf-dist/tex/latex/l3build/l3build-check.lua
@@ -546,9 +546,9 @@ function compare_pdf(name, engine)
if not refpdffile then
return
end
- refpdffile = unix_to_win(refpdffile)
errorlevel = execute(
- os_cmpexe .. " " .. refpdffile .. " " .. pdffile .. " > " .. cmpfile
+ os_cmpexe .. " " .. normalize_path(refpdffile)
+ .. " " .. pdffile .. " > " .. cmpfile
)
if errorlevel == 0 then
os.remove(cmpfile)
@@ -578,12 +578,8 @@ function compare_tlg(name, engine)
-- This allows code sharing below: we only need the .tlg name in one place
tlgfile = luatlgfile
end
- errorlevel = execute(
- os_diffexe .. " "
- .. unix_to_win(tlgfile) .. " "
- .. unix_to_win(logfile) .. " > "
- .. unix_to_win(difffile)
- )
+ errorlevel = execute(os_diffexe .. " "
+ .. normalize_path(tlgfile .. " " .. logfile .. " > " .. difffile))
if errorlevel == 0 then
os.remove(difffile)
end
@@ -662,8 +658,8 @@ function runtest(name, engine, hide, ext, makepdf)
-- Ensure lines are of a known length
os_setenv .. " max_print_line=" .. maxprintline
.. os_concat ..
- realengine .. format .. " "
- .. checkopts .. " " .. asciiopt .. lvtfile
+ realengine .. format .. " -jobname=" .. name .. " "
+ .. asciiopt .. " " .. checkopts .. " \"\\input " .. lvtfile .. "\" "
.. (hide and (" > " .. os_null) or "")
.. os_concat ..
runtest_tasks(jobname(lvtfile))