aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-27 22:05:05 +0200
committerDavid Robillard <d@drobilla.net>2019-04-27 22:06:29 +0200
commitd14838cf7217d27e499908fe324ebf4cd7863ed8 (patch)
tree27b023e7c90f40f2261b31934910ba92a9a56441 /wscript
parentbc596356af71d95eb2a341d0324a76e6b7e59a73 (diff)
downloadserd-d14838cf7217d27e499908fe324ebf4cd7863ed8.tar.gz
serd-d14838cf7217d27e499908fe324ebf4cd7863ed8.tar.bz2
serd-d14838cf7217d27e499908fe324ebf4cd7863ed8.zip
Test that all bad commands print error messages
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index eb6fe34f..fafa76b3 100644
--- a/wscript
+++ b/wscript
@@ -413,7 +413,7 @@ def test(tst):
with tempfile.TemporaryFile(mode='r') as stdin:
check([serdi, '-'], stdin=stdin)
- with tst.group('BadCommands', expected=1) as check:
+ with tst.group('BadCommands', expected=1, stderr=autowaf.NONEMPTY) as check:
check([serdi])
check([serdi, '/no/such/file'])
check([serdi, 'ftp://example.org/unsupported.ttl'])
@@ -424,7 +424,7 @@ def test(tst):
check([serdi, '-o', 'illegal'])
check([serdi, '-o'])
check([serdi, '-p'])
- check([serdi, '-q', '%s/tests/bad/bad-id-clash.ttl' % srcdir])
+ check([serdi, '-q', '%s/tests/bad/bad-base.ttl' % srcdir], stderr=None)
check([serdi, '-r'])
check([serdi, '-z'])