aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-25 16:12:23 +0100
committerDavid Robillard <d@drobilla.net>2018-11-25 22:12:48 +0100
commit61f44d803f7b197c83547927ef86329d9a13c5d2 (patch)
tree46204e933b723af524caae17f1a8d7d68824818b /wscript
parent962461099bbfe8ee5a2f0de66e74567b8f58e4b7 (diff)
downloadserd-61f44d803f7b197c83547927ef86329d9a13c5d2.tar.gz
serd-61f44d803f7b197c83547927ef86329d9a13c5d2.tar.bz2
serd-61f44d803f7b197c83547927ef86329d9a13c5d2.zip
Add separate test suite for lax syntax tests
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/wscript b/wscript
index 737b6873..c3b95885 100644
--- a/wscript
+++ b/wscript
@@ -538,6 +538,7 @@ def run_test_suites(ctx, opts):
# Serd-specific test cases
serd_base = 'http://drobilla.net/sw/serd/tests/'
test_suite(ctx, serd_base + 'good/', 'good', None, 'Turtle', 'NTriples', opts)
+ test_suite(ctx, serd_base + 'lax/', 'lax', None, 'Turtle', 'NTriples', opts + ' -l')
test_suite(ctx, serd_base + 'bad/', 'bad', None, 'Turtle', 'NTriples', opts)
# Standard test suites
@@ -563,7 +564,8 @@ def test(ctx):
"runs test suite"
# Create test output directories
- for i in ['bad', 'good', 'TurtleTests', 'NTriplesTests', 'NQuadsTests', 'TriGTests']:
+ for i in ['bad', 'good', 'lax',
+ 'TurtleTests', 'NTriplesTests', 'NQuadsTests', 'TriGTests']:
try:
test_dir = os.path.join(autowaf.build_dir(APPNAME, 'tests'), i)
os.makedirs(test_dir)