aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-18 19:09:49 -0500
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:59 +0100
commit7f508b89230b339684a4013dbbad741d9e16e40a (patch)
tree1c366ec60c6fcac68f96e01df06e4dc3c142f1ab /wscript
parentb6b777a0c0145449bce9855bc3851ad1b5edf409 (diff)
downloadserd-7f508b89230b339684a4013dbbad741d9e16e40a.tar.gz
serd-7f508b89230b339684a4013dbbad741d9e16e40a.tar.bz2
serd-7f508b89230b339684a4013dbbad741d9e16e40a.zip
Add support for parsing variables
This adds a reader flag and serdi option for extending a syntax with support for SPARQL-like variables, for storing things like patterns or simple queries.
Diffstat (limited to 'wscript')
-rw-r--r--wscript14
1 files changed, 12 insertions, 2 deletions
diff --git a/wscript b/wscript
index 404e0d4c..8a00a12f 100644
--- a/wscript
+++ b/wscript
@@ -679,8 +679,17 @@ def test(tst):
import tempfile
# Create test output directories
- for i in ['bad', 'good', 'lax', 'normalise', 'terse', 'multifile',
- 'TurtleTests', 'NTriplesTests', 'NQuadsTests', 'TriGTests']:
+ for i in ['bad',
+ 'good',
+ 'lax',
+ 'normalise',
+ 'pattern',
+ 'terse',
+ 'multifile',
+ 'TurtleTests',
+ 'NTriplesTests',
+ 'NQuadsTests',
+ 'TriGTests']:
try:
test_dir = os.path.join('tests', i)
os.makedirs(test_dir)
@@ -807,6 +816,7 @@ def test(tst):
test_suite(tst, serd_base + 'bad/', 'bad', None, 'Turtle')
test_suite(tst, serd_base + 'lax/', 'lax', None, 'Turtle', ['-l'])
test_suite(tst, serd_base + 'lax/', 'lax', None, 'Turtle')
+ test_suite(tst, serd_base + 'pattern/', 'pattern', None, 'Turtle', ['-x'])
test_suite(tst, serd_base + 'normalise/', 'normalise', None, 'Turtle',
['-n'])
test_suite(tst, serd_base + 'terse/', 'terse', None, 'Turtle', ['-t'],