From 0ad84c854da64d0710f06307f63d8b70ac59b681 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 5 May 2015 00:26:50 +0100 Subject: Add test() to cscript. --- cscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cscript') 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') -- cgit v1.2.3