diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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: |