From 1e577f5ff22e95786daedca5c326029baa59a39d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 Oct 2019 18:44:56 +0300 Subject: Use $quote() for quoting config.cxx option value in testscripts --- tests/ci.testscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ci.testscript') 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') -- cgit v1.1