From 5b2752db9a6e1472e6cb1abf43aa23717fdc5f76 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Jul 2016 21:28:45 -0400 Subject: Fix test suite when run recursively --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 73ae1da6..7f943bcc 100644 --- a/wscript +++ b/wscript @@ -282,8 +282,9 @@ def test(ctx): autowaf.begin_tests(ctx, APPNAME) for i in ctx.path.ant_glob('tests/*.ttl'): + empty = ctx.path.find_node('tests/empty.ingen') autowaf.run_test(ctx, APPNAME, - 'ingen_test --load ../tests/empty.ingen --execute %s' % i.abspath(), + 'ingen_test --load %s --execute %s' % (empty.abspath(), i.abspath()), dirs=['.', 'src', 'tests']) autowaf.end_tests(ctx, APPNAME) -- cgit v1.2.1