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/sync.testscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/sync.testscript') diff --git a/tests/sync.testscript b/tests/sync.testscript index 666fa86..f875fa1 100644 --- a/tests/sync.testscript +++ b/tests/sync.testscript @@ -4,17 +4,17 @@ .include common.testscript -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>! +init += $config_cxx -d prj 2>! status += --all --recursive -d prj deinit += -d prj : single-pkg-cfg : { - $new -C @cfg prj $cxx &prj/*** &prj-cfg/***; + $new -C @cfg prj $config_cxx &prj/*** &prj-cfg/***; $new -t lib libprj &libprj/***; -- cgit v1.1