From 1fb8ac0d29e670eaaffd7864ceab62b9f4650ff8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Mar 2019 01:18:05 +0100 Subject: Use distinct output paths for each test run Even though there is no parallelism, this seems to cause sporadic problems on Windows. Regardless, it's a good idea, since the test framework might become parallel some day. --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index b38adf7e..b3bb25f4 100644 --- a/wscript +++ b/wscript @@ -239,7 +239,7 @@ def earl_assertion(test, passed, asserter): serdi = './serdi_static' def test_thru(check, base, path, check_path, flags, isyntax, osyntax, opts=[]): - out_path = path + '.out' + out_path = path + '.pass' out_cmd = [serdi] + opts + [f for sublist in flags for f in sublist] + [ '-i', isyntax, '-o', isyntax, @@ -389,7 +389,7 @@ def test(tst): def test_syntax_io(check, in_name, check_name, lang): in_path = 'tests/good/%s' % in_name - out_path = in_path + '.out' + out_path = in_path + '.io' check_path = '%s/tests/good/%s' % (srcdir, check_name) check([serdi, '-o', lang, '%s/%s' % (srcdir, in_path), in_path], -- cgit v1.2.1