diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3build/l3build-check.lua')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3build/l3build-check.lua | 16 |
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)) |