aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-09-25 09:40:00 +0200
committerDavid Robillard <d@drobilla.net>2017-09-25 09:40:00 +0200
commite3ed0f08f7e98e73882e71272fbbf179fa4b8610 (patch)
treead4f24cbb4c33fd11b7d06aa113ba7e1c6967869 /wscript
parent5dddc73ee35c35ea7b5c9429e8d2dbd954a33955 (diff)
downloadserd-e3ed0f08f7e98e73882e71272fbbf179fa4b8610.tar.gz
serd-e3ed0f08f7e98e73882e71272fbbf179fa4b8610.tar.bz2
serd-e3ed0f08f7e98e73882e71272fbbf179fa4b8610.zip
Suppress duplicate test output lines
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index 39d21d8d..6721134b 100644
--- a/wscript
+++ b/wscript
@@ -329,8 +329,8 @@ def test_suite(ctx, srcdir, base, testdir, report, isyntax, osyntax):
if os.getenv('USER') == 'drobilla':
asserter = 'http://drobilla.net/drobilla#me'
- def run_test(command, expected_return, name):
- result = autowaf.run_test(ctx, APPNAME, command, expected_return, name=name)
+ def run_test(command, expected_return, name, quiet=False):
+ result = autowaf.run_test(ctx, APPNAME, command, expected_return, name=name, quiet=quiet)
if not result[0]:
autowaf.run_test(ctx, APPNAME,
lambda: result[1][1] != '',
@@ -376,7 +376,7 @@ def test_suite(ctx, srcdir, base, testdir, report, isyntax, osyntax):
report.write(earl_assertion(test, result[0], asserter))
# Run lax test
- run_test(command.replace('-f', '-l -f'), None, action)
+ run_test(command.replace('-f', '-l -f'), None, action + ' lax', True)
def test_types():
types = []