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