diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-18 18:44:56 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-18 18:44:56 +0300 |
commit | 1e577f5ff22e95786daedca5c326029baa59a39d (patch) | |
tree | 9435cd591fd883d252421ff17f1fcef520351005 /tests/test.testscript | |
parent | b82298fbb340446303c9510b56d41cead9d0755b (diff) |
Use $quote() for quoting config.cxx option value in testscripts
Diffstat (limited to 'tests/test.testscript')
-rw-r--r-- | tests/test.testscript | 6 |
1 files changed, 3 insertions, 3 deletions
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} |