summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-15 13:53:39 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-16 00:10:28 +0200
commitbe4abd363000695f148c36a986160f70dbc659ef (patch)
tree85ee808dd55632b70013263c1ac32e67cfd1c85f /cscript
parent86f855ef96a84ee7e8ad9d71b543e8c06fc91a9e (diff)
Test script tweaks for Windows.
Diffstat (limited to 'cscript')
-rw-r--r--cscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/cscript b/cscript
index 61dd60c06..0e8352757 100644
--- a/cscript
+++ b/cscript
@@ -741,7 +741,10 @@ def make_manual(target):
def test(target, options, test):
target.set('LC_ALL', 'C')
- cmd = 'run/tests '
+ if target.platform == 'windows':
+ cmd = 'run\\tests'
+ else:
+ cmd = 'run/tests '
if target.debug:
cmd += '--backtrace '
if test is not None: