summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-05 00:26:57 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-05 00:26:57 +0100
commitac530d2eb8c8d4041e8265ab823a4b0373b27870 (patch)
tree581d7a0bba7d505216bf3a5880017101cce2e0e1 /cscript
parent73b850cc611712124a0bbb3b92207dee30bf6f4a (diff)
Add test() to cscript.
Diffstat (limited to 'cscript')
-rw-r--r--cscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/cscript b/cscript
index e3926837..a0219148 100644
--- a/cscript
+++ b/cscript
@@ -24,3 +24,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')