[latex3-commits] [git/LaTeX3-latex3-l3build] master: Make sure .log file is removed before each test (2fd3ca9)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Aug 22 10:44:12 CEST 2019


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/2fd3ca94bb7e52033832321f12c756693309a498

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

commit 2fd3ca94bb7e52033832321f12c756693309a498
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Aug 22 09:43:32 2019 +0100

    Make sure .log file is removed before each test


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

2fd3ca94bb7e52033832321f12c756693309a498
 CHANGELOG.md      | 4 ++++
 l3build-check.lua | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 082bdb7..55c14f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+## Fixed
+
+- Remove `.log` file before each check run: prevent inter-engine confusion
+
 ## [2019-07-31]
 
 ### Fixed
diff --git a/l3build-check.lua b/l3build-check.lua
index e45d210..2874452 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -715,6 +715,8 @@ function runtest(name, engine, hide, ext, pdfmode, breakout)
   for _,filetype in pairs(dynamicfiles) do
     rm(testdir,filetype)
   end
+  -- Ensure there is no stray .log file
+  rm(testdir,name .. logext)
   local errlevels = {}
   for i = 1, checkruns do
     errlevels[i] = run(





More information about the latex3-commits mailing list