aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-22 12:40:36 +0200
committerDavid Robillard <d@drobilla.net>2019-04-22 12:40:36 +0200
commit077ba2fd088d28ddde12a99eab079802bc281de2 (patch)
tree0b2422daf0e0dd0f13bd95164dfb0cf23bda222f /wscript
parent3f09f48848bc330f24d1cd0753afd47f9013179b (diff)
downloadlv2-077ba2fd088d28ddde12a99eab079802bc281de2.tar.xz
Run unit tests on Windows
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):