summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-05 00:46:39 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-05 00:46:39 +0100
commit0fee74d7adc0bef2e72bd59b504f38a12b1dedbb (patch)
tree27c99e140e95d77786d0dbb9cabdcca36228f51a /cscript
parent743b2be04a18c9ba0a8cac361787b936a9ed9591 (diff)
Missing test() in cscript.
Diffstat (limited to 'cscript')
-rw-r--r--cscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/cscript b/cscript
index 0198fff..29f00fb 100644
--- a/cscript
+++ b/cscript
@@ -18,3 +18,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')