aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-18 01:18:05 +0100
committerDavid Robillard <d@drobilla.net>2019-03-18 01:23:36 +0100
commit1fb8ac0d29e670eaaffd7864ceab62b9f4650ff8 (patch)
treef2881d561a906950da201569a613e1c2132ffb9b
parent8c3d48d190cb73d73891ed704c84707d16c27272 (diff)
downloadserd-1fb8ac0d29e670eaaffd7864ceab62b9f4650ff8.tar.gz
serd-1fb8ac0d29e670eaaffd7864ceab62b9f4650ff8.tar.bz2
serd-1fb8ac0d29e670eaaffd7864ceab62b9f4650ff8.zip
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.
-rw-r--r--wscript4
1 files 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],