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/test.testscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test.testscript') diff --git a/tests/test.testscript b/tests/test.testscript index 0437789..4e27d7e 100644 --- a/tests/test.testscript +++ b/tests/test.testscript @@ -4,16 +4,16 @@ .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 += cc "'config.cxx=$config.cxx'" -d prj 2>! +init += $config_cxx -d prj 2>! deinit += -d prj : single-pkg-cfg : { - $new -C @cfg prj $cxx &prj/*** &prj-cfg/***; + $new -C @cfg prj $config_cxx &prj/*** &prj-cfg/***; $* -d prj 2>>~%EOE%; %(mkdir|c\+\+|ld|test) .+%{4} -- cgit v1.1