diff options
author | David Robillard <d@drobilla.net> | 2011-12-24 22:56:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-24 22:56:20 +0000 |
commit | 5218a077063c20551f7209be01aa921dcb6c2820 (patch) | |
tree | fec3c79eeb724a94d14276f3866726c5667f55c8 | |
parent | bfd550f201a9e153cd835e5ad0a0018897d1824a (diff) | |
download | serd-5218a077063c20551f7209be01aa921dcb6c2820.tar.gz serd-5218a077063c20551f7209be01aa921dcb6c2820.tar.bz2 serd-5218a077063c20551f7209be01aa921dcb6c2820.zip |
100% test coverage (by line) for serdi.c.
git-svn-id: http://svn.drobilla.net/serd/trunk@273 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -301,7 +301,7 @@ def test(ctx): commands = [] for test in good_tests: base_uri = 'http://www.w3.org/2001/sw/DataAccess/df1/' + test - commands += [ 'serdi_static %s/%s \'%s\' > %s.out' % (srcdir, test, base_uri, test) ] + commands += [ 'serdi_static -f %s/%s \'%s\' > %s.out' % (srcdir, test, base_uri, test) ] autowaf.run_tests(ctx, APPNAME, commands, 0, name='good') @@ -332,7 +332,7 @@ def test(ctx): base_uri = 'http://www.w3.org/2001/sw/DataAccess/df1/' + test out_filename = test + '.thru' commands += [ - '%s %s -o turtle -p foo %s/%s \'%s\' | %s -i turtle -c foo - \'%s\' | sed \'s/_:docid/_:genid/g\' > %s.thru' % ( + '%s %s -o turtle -p foo %s/%s \'%s\' | %s -i turtle -o ntriples -c foo - \'%s\' | sed \'s/_:docid/_:genid/g\' > %s.thru' % ( 'serdi_static', '-b' if bulk else ' ', srcdir, test, base_uri, 'serdi_static', base_uri, test) ] bulk = not bulk |