diff options
author | David Robillard <d@drobilla.net> | 2017-09-25 09:40:00 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-09-25 09:40:00 +0200 |
commit | e3ed0f08f7e98e73882e71272fbbf179fa4b8610 (patch) | |
tree | ad4f24cbb4c33fd11b7d06aa113ba7e1c6967869 /wscript | |
parent | 5dddc73ee35c35ea7b5c9429e8d2dbd954a33955 (diff) | |
download | serd-e3ed0f08f7e98e73882e71272fbbf179fa4b8610.tar.gz serd-e3ed0f08f7e98e73882e71272fbbf179fa4b8610.tar.bz2 serd-e3ed0f08f7e98e73882e71272fbbf179fa4b8610.zip |
Suppress duplicate test output lines
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 = [] |