aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-04-14 16:41:20 +0200
committerDavid Robillard <d@drobilla.net>2017-04-14 20:58:03 +0200
commit73f522a99d261248cf0bcfdd861287a8b5ffa0af (patch)
treee2afacd85eadfdd891ca178ba9202b8023180014 /wscript
parent1ae793464e0cfb71dedc9807d97132fdc6145005 (diff)
downloadserd-73f522a99d261248cf0bcfdd861287a8b5ffa0af.tar.gz
serd-73f522a99d261248cf0bcfdd861287a8b5ffa0af.tar.bz2
serd-73f522a99d261248cf0bcfdd861287a8b5ffa0af.zip
Test read errors with both bulk and non-bulk reading
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/wscript b/wscript
index 60970e69..f2bc0fd7 100644
--- a/wscript
+++ b/wscript
@@ -420,9 +420,13 @@ def test(ctx):
], 0, name='serdi-cmd-good')
# Test read error by reading a directory
- autowaf.run_test(ctx, APPNAME, 'serdi_static "file://%s/"' % srcdir,
+ autowaf.run_test(ctx, APPNAME, 'serdi_static -e "file://%s/"' % srcdir,
1, name='read_error')
+ # Test read error with bulk input by reading a directory
+ autowaf.run_test(ctx, APPNAME, 'serdi_static "file://%s/"' % srcdir,
+ 1, name='read_error_bulk')
+
# Test write error by writing to /dev/full
if os.path.exists('/dev/full'):
autowaf.run_test(ctx, APPNAME,