aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-06-29 12:21:09 -0400
committerDavid Robillard <d@drobilla.net>2017-06-29 12:21:09 -0400
commit195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8 (patch)
tree952b067c7ace8afb1f78cb51ac032d18565c94a8 /wscript
parent21211d73053d0a66a1da601472c68598cfc53595 (diff)
downloadserd-195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8.tar.gz
serd-195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8.tar.bz2
serd-195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8.zip
Fix strict parsing of abolute URI schemes
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/wscript b/wscript
index 7558d73b..3aff945c 100644
--- a/wscript
+++ b/wscript
@@ -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')