aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-18 18:43:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-18 18:43:52 +0300
commit9d90382e1282045638ede144b89c7e94f4739466 (patch)
tree56dcd4dd8d6d814267b7e921fe1b684b302d0adc
parent0e0842330d1ef11f9ac6fa70d9f84bdb16084c45 (diff)
Use $quote() for quoting config.cxx option value in testscripts
-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 5c2b57a..01faae9 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=$quote($recall($cxx.path) $cxx.mode, true)
.include ../../common.testscript
diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript
index e10047a..97c5a2b 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=$quote($recall($cxx.path) $cxx.mode, true)
.include ../../common.testscript
diff --git a/tests/cc/preprocessed/testscript b/tests/cc/preprocessed/testscript
index 08560d5..5b34165 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=$quote($recall($cxx.path) $cxx.mode, true) update
.include ../../common.testscript