aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-22 11:16:43 +0200
committerDavid Robillard <d@drobilla.net>2019-04-22 11:16:43 +0200
commit3f09f48848bc330f24d1cd0753afd47f9013179b (patch)
tree59c71385458548a54adcaf7707623189387a6eb0
parentbcf38cbe05887cd4d3a15e20a3539ae4b30a4e7b (diff)
downloadlv2-3f09f48848bc330f24d1cd0753afd47f9013179b.tar.xz
Fix running tests in a recursive project
-rw-r--r--wscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/wscript b/wscript
index 2df4eb4..a5ffa3b 100644
--- a/wscript
+++ b/wscript
@@ -446,9 +446,8 @@ def lint(ctx):
def test(tst):
with tst.group('Unit') as check:
- for i in tst.path.ant_glob('**/*-test'):
- test = './' + i.path_from(tst.path.find_node('build'))
- check([test])
+ for test in tst.path.get_bld().ant_glob('**/*-test'):
+ check([str(test)])
class Dist(Scripting.Dist):
def execute(self):