Try to fix test run via cdist.
authorCarl Hetherington <cth@carlh.net>
Mon, 4 May 2015 23:14:19 +0000 (00:14 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 4 May 2015 23:14:19 +0000 (00:14 +0100)
cscript

diff --git a/cscript b/cscript
index 4fc3f4f51fc984fc71a60a30cc1df1128987bc2d..1f4dbb21c94aa331a72da4772ad7465a9fcb7d33 100644 (file)
--- 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')