summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-03 14:57:15 +0000
committerDavid Robillard <d@drobilla.net>2015-10-03 14:57:15 +0000
commit8bbac48a4cfb64251d8a67e4c01088c9151520f5 (patch)
treedac87cbc61cf598dbb75f6441ca00f4f6c87f4fc /wscript
parent154437f46858502586d8e896bba3b4aac1a37cc7 (diff)
downloadsord-8bbac48a4cfb64251d8a67e4c01088c9151520f5.tar.gz
sord-8bbac48a4cfb64251d8a67e4c01088c9151520f5.tar.bz2
sord-8bbac48a4cfb64251d8a67e4c01088c9151520f5.zip
Fix using sordi with stdin
Improve test coverage (100% of sordi.c). git-svn-id: http://svn.drobilla.net/sord/trunk@332 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3fb2cf4..fd52e29 100644
--- a/wscript
+++ b/wscript
@@ -279,6 +279,8 @@ def test(ctx):
'sordi_static -v > %s' % nul,
'sordi_static -h > %s' % nul,
'sordi_static -s "<foo> a <#Thingie> ." file:///test > %s' % nul,
+ 'echo "<s> <p> <o> ." | sordi_static - http://example.org/',
+ 'echo "<s> <p> <o> ." | sordi_static -o turtle - http://example.org/',
'sordi_static %s > %s' % (nul, nul)],
0, name='sordi-cmd-good')
@@ -293,6 +295,8 @@ def test(ctx):
'sordi_static -i illegal > %s' % nul,
'sordi_static -o illegal > %s' % nul,
'sordi_static -i turtle > %s' % nul,
+ 'sordi_static -i ntriples > %s' % nul,
+ 'echo "<s> <p> <o> ." | sordi_static -',
'sordi_static /no/such/file > %s' % nul],
1, name='sordi-cmd-bad')