aboutsummaryrefslogtreecommitdiff
path: root/tests/new.testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-16 07:55:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-16 07:55:02 +0200
commitb82298fbb340446303c9510b56d41cead9d0755b (patch)
treed45f65b4b6d87d2e1207f0127f0331eb4278149f /tests/new.testscript
parent519ae8a0cd36c9726c12df8df864f9b6853d9857 (diff)
Escape quoting in config.{c,cxx} paths when passing to tests
This is needed due to the command line re-parsing (see "Lexical Structure" in the Testscript manual for details).
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 3692e54..f5b105c 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