From 0b546799dc0af6d6d97e2a514c92d261138b73fb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 24 May 2011 14:16:20 +0000 Subject: Improve test coverage git-svn-id: http://svn.drobilla.net/serd/trunk@189 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- wscript | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 16ae242a..539836d2 100644 --- a/wscript +++ b/wscript @@ -207,6 +207,7 @@ def test(ctx): './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 " a <#Thingie> ." > /dev/null', './serdi_static /dev/null > /dev/null'], 0, name='serdi-cmd-good') @@ -214,8 +215,12 @@ def test(ctx): 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 /no/such/file > /dev/null'], 1, name='serdi-cmd-bad') @@ -253,7 +258,7 @@ def test(ctx): base_uri = 'http://www.w3.org/2001/sw/DataAccess/df1/' + test out_filename = test + '.thru' commands += [ - '%s -o turtle %s/%s \'%s\' | %s -i turtle - \'%s\' | sed \'s/_:docid/_:genid/g\' > %s.thru' % ( + '%s -o turtle -p foo %s/%s \'%s\' | %s -i turtle -c foo - \'%s\' | sed \'s/_:docid/_:genid/g\' > %s.thru' % ( './serdi_static', srcdir, test, base_uri, './serdi_static', base_uri, test) ] -- cgit v1.2.1