From aec46529233290f8274d137b795b4924f1db131a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 2 Oct 2015 18:03:29 +0000 Subject: Full test coverage git-svn-id: http://svn.drobilla.net/serd/trunk@492 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- wscript | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index e44459fc..7c0458a5 100644 --- a/wscript +++ b/wscript @@ -466,9 +466,10 @@ def test(ctx): commands = [] for test in tests: - path = os.path.join('tests', tdir, test) - commands += [ 'serdi_static -f "%s" "%s" > %s.out' % ( - os.path.join(srcdir, path), test_base(test), path) ] + for lax in ['', '-l']: + path = os.path.join('tests', tdir, test) + commands += [ 'serdi_static %s -f "%s" "%s" > %s.out' % ( + lax, os.path.join(srcdir, path), test_base(test), path) ] autowaf.run_tests(ctx, APPNAME, commands, 0, name=tdir) @@ -487,8 +488,9 @@ def test(ctx): # Bad tests commands = [] for test in bad_tests: - commands += [ 'serdi_static -q "%s" "%s" > %s.out' % ( - os.path.join(srcdir, test), test_base(test), test) ] + for lax in ['', '-l']: + commands += [ 'serdi_static %s -q "%s" "%s" > %s.out' % ( + lax, os.path.join(srcdir, test), test_base(test), test) ] autowaf.run_tests(ctx, APPNAME, commands, 1, name='bad') -- cgit v1.2.1