diff options
author | David Robillard <d@drobilla.net> | 2011-05-24 14:12:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-24 14:12:31 +0000 |
commit | 4c9c6ddc710898c38fe37f09cc6087aed0cadc78 (patch) | |
tree | ad8b61b71d8c35a2035facb63af05eafe54c8d96 | |
parent | 936c70a02f140c3ad9d13f2b222859479e860690 (diff) | |
download | sord-4c9c6ddc710898c38fe37f09cc6087aed0cadc78.tar.gz sord-4c9c6ddc710898c38fe37f09cc6087aed0cadc78.tar.bz2 sord-4c9c6ddc710898c38fe37f09cc6087aed0cadc78.zip |
Add basic tests to cover sordi code paths.
git-svn-id: http://svn.drobilla.net/sord/trunk@126 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r-- | wscript | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -209,6 +209,26 @@ def test(ctx): autowaf.pre_test(ctx, APPNAME) + autowaf.run_tests(ctx, APPNAME, [ + './sordi_static file:%s/tests/manifest.ttl > /dev/null' % srcdir, + './sordi_static file://%s/tests/manifest.ttl > /dev/null' % srcdir, + './sordi_static %s/tests/UTF-8.ttl > /dev/null' % srcdir, + './sordi_static -v > /dev/null', + './sordi_static -s "<foo> a <#Thingie> ." > /dev/null', + './sordi_static /dev/null > /dev/null'], + 0, name='sordi-cmd-good') + + autowaf.run_tests(ctx, APPNAME, [ + './sordi_static > /dev/null', + './sordi_static ftp://example.org/unsupported.ttl > /dev/null', + './sordi_static -i > /dev/null', + './sordi_static -o > /dev/null', + './sordi_static -z > /dev/null', + './sordi_static -i illegal > /dev/null', + './sordi_static -o illegal > /dev/null', + './sordi_static /no/such/file > /dev/null'], + 1, name='sordi-cmd-bad') + autowaf.run_tests(ctx, APPNAME, ['./sord_test']) commands = [] |