From 3c205603ded9c1c45048a59a25880a698c4a0e49 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Oct 2020 15:14:26 +0200 Subject: [PATCH] cscript can now run tests on Windows. --- cscript | 15 +++++++-------- 1 file 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) -- 2.30.2