summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-05 00:46:21 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-05 00:46:21 +0100
commitf480d598e71a6f78da6f1826cfa2f0d30ba2647d (patch)
tree623521340b960c9ab76628e0d429525ed5352c79
parente0c31fda52bbfc77913bee2675cd9c338bc3c86e (diff)
Missing test() in cscript.
-rw-r--r--cscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/cscript b/cscript
index b30567d..8d4fdbd 100644
--- a/cscript
+++ b/cscript
@@ -21,3 +21,8 @@ def make_doxygen(target):
os.makedirs('build/doc')
target.command('doxygen')
return os.path.abspath('build/doc/html')
+
+def test(target):
+ if target.platform != 'windows':
+ target.set('LC_ALL', 'C')
+ target.command('run/tests')