summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-14 15:14:26 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-14 15:14:26 +0200
commit3c205603ded9c1c45048a59a25880a698c4a0e49 (patch)
treef073ecf6bccc0a5f47fd64bd359431c92219713f
parentbe4f534d009e96ddeef39a88d5280bbb20b4b966 (diff)
cscript can now run tests on Windows.
-rw-r--r--cscript15
1 files changed, 7 insertions, 8 deletions
diff --git a/cscript b/cscript
index dc8e34e41..61dd60c06 100644
--- a/cscript
+++ b/cscript
@@ -740,11 +740,10 @@ def make_manual(target):
return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
def test(target, options, test):
- if target.platform != 'windows':
- target.set('LC_ALL', 'C')
- cmd = 'run/tests '
- if target.debug:
- cmd += '--backtrace '
- if test is not None:
- cmd += '--run_test=%s' % test
- target.command(cmd)
+ target.set('LC_ALL', 'C')
+ cmd = 'run/tests '
+ if target.debug:
+ cmd += '--backtrace '
+ if test is not None:
+ cmd += '--run_test=%s' % test
+ target.command(cmd)