aboutsummaryrefslogtreecommitdiff
path: root/tests/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-16 08:15:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-16 08:15:35 +0200
commit5338cd3b93972c60ac90d4c2c5a640071f92d091 (patch)
treea1185b0247c00fc09b28126e267f6f1b58de40fa /tests/cc
parent222e7e7f5cd64fcb2cf7f2d65e03a2f57982ce74 (diff)
Quote config.{c,cxx} paths when passing to tests
Without this Windows directory separators are treated as escapes.
Diffstat (limited to 'tests/cc')
-rw-r--r--tests/cc/libu/testscript2
-rw-r--r--tests/cc/modules/common.testscript2
-rw-r--r--tests/cc/preprocessed/testscript2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/cc/libu/testscript b/tests/cc/libu/testscript
index 75ccb4d..5c2b57a 100644
--- a/tests/cc/libu/testscript
+++ b/tests/cc/libu/testscript
@@ -3,7 +3,7 @@
# license : MIT; see accompanying LICENSE file
crosstest = false
-test.arguments = config.cxx="$recall($cxx.path)"
+test.arguments = config.cxx="\\'$recall($cxx.path)\\'"
.include ../../common.testscript
diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript
index b7501c1..e10047a 100644
--- a/tests/cc/modules/common.testscript
+++ b/tests/cc/modules/common.testscript
@@ -3,7 +3,7 @@
# license : MIT; see accompanying LICENSE file
crosstest = false
-test.arguments = config.cxx="$recall($cxx.path)"
+test.arguments = config.cxx="\\'$recall($cxx.path)\\'"
.include ../../common.testscript
diff --git a/tests/cc/preprocessed/testscript b/tests/cc/preprocessed/testscript
index 844e140..08560d5 100644
--- a/tests/cc/preprocessed/testscript
+++ b/tests/cc/preprocessed/testscript
@@ -3,7 +3,7 @@
# license : MIT; see accompanying LICENSE file
crosstest = false
-test.arguments = config.cxx="$recall($cxx.path)" update
+test.arguments = config.cxx="\\'$recall($cxx.path)\\'" update
.include ../../common.testscript