aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 8 insertions, 1 deletions
diff --git a/wscript b/wscript
index a1f16b4e..31d3f36e 100644
--- a/wscript
+++ b/wscript
@@ -625,7 +625,7 @@ def test(tst):
import tempfile
# Create test output directories
- for i in ['bad', 'good', 'lax', 'terse',
+ for i in ['bad', 'good', 'lax', 'terse', 'multifile',
'TurtleTests', 'NTriplesTests', 'NQuadsTests', 'TriGTests']:
try:
test_dir = os.path.join('tests', i)
@@ -682,6 +682,13 @@ def test(tst):
stdout.seek(0, 2) # Seek to end
check(lambda: stdout.tell() == 0, name='empty output')
+ with tst.group('MultiFile') as check:
+ path = '%s/tests/multifile' % srcdir
+ check([serdi, '%s/input1.ttl' % path, '%s/input2.trig' % path],
+ stdout='tests/multifile/output.out.nq')
+ check.file_equals('%s/tests/multifile/output.nq' % srcdir,
+ 'tests/multifile/output.out.nq')
+
with tst.group('BadCommands',
expected=1,
stderr=autowaf.NONEMPTY) as check: