diff options
author | David Robillard <d@drobilla.net> | 2015-10-02 18:03:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-10-02 18:03:29 +0000 |
commit | aec46529233290f8274d137b795b4924f1db131a (patch) | |
tree | 837bbb7a5cedb2ddaa5e73c51acb14a480cb2480 /wscript | |
parent | d908317e729ffc2495b9fc546cff88b541eacfb2 (diff) | |
download | serd-aec46529233290f8274d137b795b4924f1db131a.tar.gz serd-aec46529233290f8274d137b795b4924f1db131a.tar.bz2 serd-aec46529233290f8274d137b795b4924f1db131a.zip |
Full test coverage
git-svn-id: http://svn.drobilla.net/serd/trunk@492 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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') |