aboutsummaryrefslogtreecommitdiff
path: root/tests/ci.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-18 18:44:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-18 18:44:56 +0300
commit1e577f5ff22e95786daedca5c326029baa59a39d (patch)
tree9435cd591fd883d252421ff17f1fcef520351005 /tests/ci.testscript
parentb82298fbb340446303c9510b56d41cead9d0755b (diff)
Use $quote() for quoting config.cxx option value in testscripts
Diffstat (limited to 'tests/ci.testscript')
-rw-r--r--tests/ci.testscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ci.testscript b/tests/ci.testscript
index 6fa73eb..0afe1ec 100644
--- a/tests/ci.testscript
+++ b/tests/ci.testscript
@@ -52,10 +52,10 @@ repository='http://example.com/prj.git'
test.arguments += --yes --repository "$repository" --server "$server" \
--simulate 'success'
-cxx = cc config.cxx="\\'$recall($cxx.path)\\'"
+config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.mode, true)
new += 2>!
-init += $cxx -d prj 2>! &prj/**/bootstrap/***
+init += $config_cxx -d prj 2>! &prj/**/bootstrap/***
windows = ($cxx.target.class == 'windows')