aboutsummaryrefslogtreecommitdiff
path: root/tests/test.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/test.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/test.testscript')
-rw-r--r--tests/test.testscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.testscript b/tests/test.testscript
index c39ddb5..9d0191e 100644
--- a/tests/test.testscript
+++ b/tests/test.testscript
@@ -4,10 +4,10 @@
.include common.testscript
-cxx = cc config.cxx="$recall($cxx.path)"
+cxx = cc config.cxx="'$recall($cxx.path)'"
new += 2>!
-init += cc "config.cxx=$config.cxx" -d prj 2>!
+init += cc "'config.cxx=$config.cxx'" -d prj 2>!
deinit += -d prj
: single-pkg-cfg