aboutsummaryrefslogtreecommitdiff
path: root/tests/new.testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-16 07:14:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-16 07:20:06 +0200
commiteeed5341570e88ff494634198c77b54f3595a684 (patch)
tree628e342d4867eecb079822907b24447051d6e68b /tests/new.testscript
parent5529cbd7dbe364410ecdd132ac5f24cda0846121 (diff)
Quote config.{c,cxx} paths when passing to tests
Without this Windows directory separators are treated as escapes.
Diffstat (limited to 'tests/new.testscript')
-rw-r--r--tests/new.testscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/new.testscript b/tests/new.testscript
index 73f4c6c..3692e54 100644
--- a/tests/new.testscript
+++ b/tests/new.testscript
@@ -14,8 +14,8 @@ c_tests = ($c.target.class != 'windows' && $c.target.class != 'macos')
#
test.arguments += --no-checks
-c = config.c="$recall($c.path)"
-cxx = config.cxx="$recall($cxx.path)"
+c = config.c="'$recall($c.path)'"
+cxx = config.cxx="'$recall($cxx.path)'"
status += -d prj