From fe86b69752e84f25ca211e97122601ae66e3b044 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 May 2018 14:54:51 +0200 Subject: Add test for reading chunks --- wscript | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 3849543d..26efaa35 100644 --- a/wscript +++ b/wscript @@ -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 -- cgit v1.2.1