summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 7 insertions, 3 deletions
diff --git a/wscript b/wscript
index dc558b5f..73ae1da6 100644
--- a/wscript
+++ b/wscript
@@ -279,9 +279,13 @@ def test(ctx):
os.path.join('src', 'server')])
autowaf.pre_test(ctx, APPNAME, dirs=['.', 'src', 'tests'])
+ autowaf.begin_tests(ctx, APPNAME)
+
for i in ctx.path.ant_glob('tests/*.ttl'):
- autowaf.run_tests(ctx, APPNAME,
- ['ingen_test --load ../tests/empty.ingen --execute %s' % i.abspath()],
- dirs=['.', 'src', 'tests'])
+ autowaf.run_test(ctx, APPNAME,
+ 'ingen_test --load ../tests/empty.ingen --execute %s' % i.abspath(),
+ dirs=['.', 'src', 'tests'])
+
+ autowaf.end_tests(ctx, APPNAME)
autowaf.post_test(ctx, APPNAME, dirs=['.', 'src', 'tests'],
remove=['/usr*'])