diff options
author | David Robillard <d@drobilla.net> | 2019-04-27 22:05:05 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-27 22:06:29 +0200 |
commit | d14838cf7217d27e499908fe324ebf4cd7863ed8 (patch) | |
tree | 27b023e7c90f40f2261b31934910ba92a9a56441 | |
parent | bc596356af71d95eb2a341d0324a76e6b7e59a73 (diff) | |
download | serd-d14838cf7217d27e499908fe324ebf4cd7863ed8.tar.gz serd-d14838cf7217d27e499908fe324ebf4cd7863ed8.tar.bz2 serd-d14838cf7217d27e499908fe324ebf4cd7863ed8.zip |
Test that all bad commands print error messages
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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']) |