Don't try to run tests for Windows builds.
authorCarl Hetherington <cth@carlh.net>
Mon, 2 Dec 2013 15:19:45 +0000 (15:19 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 2 Dec 2013 15:19:45 +0000 (15:19 +0000)
cscript

diff --git a/cscript b/cscript
index 540c069a1e8eb64c0ae2bb40d4f673e3088d4050..531f71098d179354d0375b018fedeebce977fe6b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -185,5 +185,6 @@ def make_manual(target):
     return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
 
 def test(target):
-    target.set('LC_ALL', 'C')
-    target.command('run/tests')
+    if target.platform != 'windows':
+        target.set('LC_ALL', 'C')
+        target.command('run/tests')