summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-27 23:27:14 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-27 23:27:14 +0100
commit9121eb64810e39ba356d4a1b723a720adc82c096 (patch)
tree75d8a72000d9617926b2fc325414b2fcfb3db168 /cscript
parent3a0fba174d25c7be461b4714b5ab8bd1fcf81ed8 (diff)
Fix running single tests on Windows.
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index 1d206dbfd..9e7ba447d 100644
--- a/cscript
+++ b/cscript
@@ -737,11 +737,11 @@ def make_manual(target):
def test(target, options, test):
target.set('LC_ALL', 'C')
if target.platform == 'windows':
- cmd = 'run\\tests'
+ cmd = 'run\\tests '
else:
cmd = 'run/tests '
if target.debug:
cmd += '--backtrace '
if test is not None:
- cmd += '--run_test=%s' % test
+ cmd += '-t %s' % test
target.command(cmd)