aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index a5ffa3b..c2747f4 100644
--- a/wscript
+++ b/wscript
@@ -446,7 +446,8 @@ def lint(ctx):
def test(tst):
with tst.group('Unit') as check:
- for test in tst.path.get_bld().ant_glob('**/*-test'):
+ pattern = tst.env.cprogram_PATTERN % '**/*-test'
+ for test in tst.path.get_bld().ant_glob(pattern):
check([str(test)])
class Dist(Scripting.Dist):