summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-05 00:14:19 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-05 00:14:19 +0100
commitca1f8ef6ac678b7a0c855c4998b3e303c147ffe7 (patch)
tree85517a1148f6bbee4cc65d2606bed4b625cb1625 /cscript
parentb134f1d3a23136aaaaa06f1785bac0d7b894c775 (diff)
Try to fix test run via cdist.
Diffstat (limited to 'cscript')
-rw-r--r--cscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/cscript b/cscript
index 4fc3f4f..1f4dbb2 100644
--- a/cscript
+++ b/cscript
@@ -6,3 +6,8 @@ def build(target, options):
cmd += ' --target-windows'
target.command(cmd)
target.command('./waf build install')
+
+def test(target):
+ if target.platform != 'windows':
+ target.set('LC_ALL', 'C')
+ target.command('./run-tests.sh')