summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-05 00:26:50 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-05 00:26:50 +0100
commit0ad84c854da64d0710f06307f63d8b70ac59b681 (patch)
tree66444a8b439ca86336175c5fa3dcd6d87d213be6
parent4df57fe9f0992d8c695a6458b5e2ccba3fb0b7e2 (diff)
Add test() to cscript.
-rw-r--r--cscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/cscript b/cscript
index 3bca50ec..6cbf4bc0 100644
--- a/cscript
+++ b/cscript
@@ -22,3 +22,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')