diff options
author | David Robillard <d@drobilla.net> | 2018-05-10 14:54:51 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-05-27 18:21:57 +0200 |
commit | fe86b69752e84f25ca211e97122601ae66e3b044 (patch) | |
tree | 68b592bea6c5b5430cdd6c64167684366c619224 /wscript | |
parent | 56fcd25f5258ecc31cca2e728ab0913cec99c057 (diff) | |
download | serd-fe86b69752e84f25ca211e97122601ae66e3b044.tar.gz serd-fe86b69752e84f25ca211e97122601ae66e3b044.tar.bz2 serd-fe86b69752e84f25ca211e97122601ae66e3b044.zip |
Add test for reading chunks
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -140,7 +140,8 @@ def build(bld): # Test programs for prog in [('serdi_static', 'src/serdi.c'), - ('serd_test', 'tests/serd_test.c')]: + ('serd_test', 'tests/serd_test.c'), + ('read_chunk_test', 'tests/read_chunk_test.c')]: bld(features = 'c cprogram', source = prog[1], use = 'libserd_profiled', @@ -426,7 +427,8 @@ def test(ctx): os.environ['PATH'] = '.' + os.pathsep + os.getenv('PATH') autowaf.pre_test(ctx, APPNAME) - autowaf.run_test(ctx, APPNAME, 'serd_test', dirs=['.']) + for test in ['serd_test', 'read_chunk_test']: + autowaf.run_test(ctx, APPNAME, test, dirs=['.']) def test_ttl(in_name, expected_name): in_path = 'tests/good/%s.ttl' % in_name |