diff options
author | David Robillard <d@drobilla.net> | 2019-04-22 11:16:43 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-22 11:16:43 +0200 |
commit | 3f09f48848bc330f24d1cd0753afd47f9013179b (patch) | |
tree | 59c71385458548a54adcaf7707623189387a6eb0 /wscript | |
parent | bcf38cbe05887cd4d3a15e20a3539ae4b30a4e7b (diff) | |
download | lv2-3f09f48848bc330f24d1cd0753afd47f9013179b.tar.xz |
Fix running tests in a recursive project
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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): |