diff options
author | David Robillard <d@drobilla.net> | 2017-06-29 12:21:09 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-06-29 12:21:09 -0400 |
commit | 195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8 (patch) | |
tree | 952b067c7ace8afb1f78cb51ac032d18565c94a8 /wscript | |
parent | 21211d73053d0a66a1da601472c68598cfc53595 (diff) | |
download | serd-195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8.tar.gz serd-195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8.tar.bz2 serd-195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8.zip |
Fix strict parsing of abolute URI schemes
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -392,7 +392,7 @@ def test(ctx): os.chdir(orig_dir) os.chdir(srcdir) - bad_tests = glob.glob('tests/bad/*.ttl') + bad_tests = glob.glob('tests/bad/*.ttl') + glob.glob('tests/bad/*.nt') bad_tests.sort() os.chdir(orig_dir) @@ -483,8 +483,9 @@ def test(ctx): for lax in ['', '-l']: autowaf.run_test( ctx, APPNAME, - 'serdi_static %s -q "%s" "%s" > %s.out' % ( - lax, os.path.join(srcdir, test), test_base(test), test), + 'serdi_static %s -i %s -q "%s" "%s" > %s.out' % ( + lax, 'turtle' if test.endswith('.ttl') else 'ntriples', + os.path.join(srcdir, test), test_base(test), test), 1, name=test) autowaf.end_tests(ctx, APPNAME, 'bad') |