diff options
author | David Robillard <d@drobilla.net> | 2011-08-23 23:15:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-08-23 23:15:09 +0000 |
commit | da8c163fac0272c8eb6a719c5a0661b4152e0399 (patch) | |
tree | 67f748d0853b971a3cb67bbffd2b433175e149e1 /wscript | |
parent | cff2f516d6a0ea753345384c273a1e7934a1fc80 (diff) | |
download | serd-da8c163fac0272c8eb6a719c5a0661b4152e0399.tar.gz serd-da8c163fac0272c8eb6a719c5a0661b4152e0399.tar.bz2 serd-da8c163fac0272c8eb6a719c5a0661b4152e0399.zip |
Remove non-portable use of /dev/null in test suite commands.
git-svn-id: http://svn.drobilla.net/serd/trunk@214 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 37 |
1 files changed, 19 insertions, 18 deletions
@@ -211,28 +211,29 @@ def test(ctx): autowaf.pre_test(ctx, APPNAME) + nul = os.devnull autowaf.run_tests(ctx, APPNAME, [ - './serdi_static file:%s/tests/manifest.ttl > /dev/null' % srcdir, - './serdi_static file://%s/tests/manifest.ttl > /dev/null' % srcdir, - './serdi_static %s/tests/UTF-8.ttl > /dev/null' % srcdir, - './serdi_static -v > /dev/null', - './serdi_static -h > /dev/null', - './serdi_static -s "<foo> a <#Thingie> ." > /dev/null', - './serdi_static /dev/null > /dev/null'], + './serdi_static file:%s/tests/manifest.ttl > %s' % (srcdir, nul), + './serdi_static file://%s/tests/manifest.ttl > %s' % (srcdir, nul), + './serdi_static %s/tests/UTF-8.ttl > %s' % (srcdir, nul), + './serdi_static -v > %s' % nul, + './serdi_static -h > %s' % nul, + './serdi_static -s "<foo> a <#Thingie> ." > %s' % nul, + './serdi_static %s > %s' % (nul, nul)], 0, name='serdi-cmd-good') autowaf.run_tests(ctx, APPNAME, [ - './serdi_static > /dev/null', - './serdi_static ftp://example.org/unsupported.ttl > /dev/null', - './serdi_static -i > /dev/null', - './serdi_static -o > /dev/null', - './serdi_static -z > /dev/null', - './serdi_static -p > /dev/null', - './serdi_static -c > /dev/null', - './serdi_static -i illegal > /dev/null', - './serdi_static -o illegal > /dev/null', - './serdi_static -i turtle > /dev/null', - './serdi_static /no/such/file > /dev/null'], + './serdi_static > %s' % nul, + './serdi_static ftp://example.org/unsupported.ttl > %s' % nul, + './serdi_static -i > %s' % nul, + './serdi_static -o > %s' % nul, + './serdi_static -z > %s' % nul, + './serdi_static -p > %s' % nul, + './serdi_static -c > %s' % nul, + './serdi_static -i illegal > %s' % nul, + './serdi_static -o illegal > %s' % nul, + './serdi_static -i turtle > %s' % nul, + './serdi_static /no/such/file > %s' % nul], 1, name='serdi-cmd-bad') commands = [] |