aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-28 16:36:02 +0200
committerDavid Robillard <d@drobilla.net>2019-12-20 10:26:55 -0500
commitf79260e122a02b0cf553342d598bba78e169d0da (patch)
tree695d1723c60f02a9a6413868f6dae9ac6ce063f1 /wscript
parent62f9b9e3bf3224211cbd6913a7b392d15fef9d78 (diff)
downloadserd-f79260e122a02b0cf553342d598bba78e169d0da.tar.gz
serd-f79260e122a02b0cf553342d598bba78e169d0da.tar.bz2
serd-f79260e122a02b0cf553342d598bba78e169d0da.zip
Report writer errors and add strict write mode
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/wscript b/wscript
index b4004b3d..eee245e6 100644
--- a/wscript
+++ b/wscript
@@ -562,8 +562,10 @@ def test(tst):
check([serdi, '-e', 'file://%s/' % srcdir], name='Read directory')
check([serdi, 'file://%s/' % srcdir], name='Bulk read directory')
if os.path.exists('/dev/full'):
+ check([serdi, 'file://%s/tests/good/base.ttl' % srcdir],
+ stdout='/dev/full', name='Short write error')
check([serdi, 'file://%s/tests/good/manifest.ttl' % srcdir],
- stdout='/dev/full', name='Write error')
+ stdout='/dev/full', name='Long write error')
if sys.version_info.major >= 3:
from waflib.extras import autoship