diff options
author | David Robillard <d@drobilla.net> | 2011-12-24 18:21:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-24 18:21:40 +0000 |
commit | d7c7e4910aae57156d70ceea5918477d8455c4d8 (patch) | |
tree | 4d5b36aba9052a8df57ece46fc580879e25886fb | |
parent | 4f1cec5fd409fc7ba98ca0bb19af10a492a6af2a (diff) | |
download | serd-d7c7e4910aae57156d70ceea5918477d8455c4d8.tar.gz serd-d7c7e4910aae57156d70ceea5918477d8455c4d8.tar.bz2 serd-d7c7e4910aae57156d70ceea5918477d8455c4d8.zip |
Make test suite cover bulk writer.
git-svn-id: http://svn.drobilla.net/serd/trunk@264 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r-- | wscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -327,13 +327,15 @@ def test(ctx): thru_tests.remove('tests/test-id.ttl') # IDs are mapped so files won't be identical commands = [] + bulk = False for test in thru_tests: base_uri = 'http://www.w3.org/2001/sw/DataAccess/df1/' + test out_filename = test + '.thru' commands += [ - '%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, + '%s %s -o turtle -p foo %s/%s \'%s\' | %s -i turtle -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 autowaf.run_tests(ctx, APPNAME, commands, 0, name='turtle-round-trip') Logs.pprint('BOLD', '\nVerifying ntriples => turtle => ntriples') |