summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-24 21:28:45 -0400
committerDavid Robillard <d@drobilla.net>2016-07-24 21:28:45 -0400
commit5b2752db9a6e1472e6cb1abf43aa23717fdc5f76 (patch)
tree7c39e017a2c52f978cb195c3a29926648e197362
parent5ac170a5c8af27bd5e76beb587a001d7648548d6 (diff)
downloadingen-5b2752db9a6e1472e6cb1abf43aa23717fdc5f76.tar.gz
ingen-5b2752db9a6e1472e6cb1abf43aa23717fdc5f76.tar.bz2
ingen-5b2752db9a6e1472e6cb1abf43aa23717fdc5f76.zip
Fix test suite when run recursively
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
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)