aboutsummaryrefslogtreecommitdiff
path: root/tests/cfg-create.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cfg-create.testscript')
-rw-r--r--tests/cfg-create.testscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/cfg-create.testscript b/tests/cfg-create.testscript
index 68aea13..8d7f95e 100644
--- a/tests/cfg-create.testscript
+++ b/tests/cfg-create.testscript
@@ -4,6 +4,8 @@
.include common.testscript
+config_cxx = config.cxx=$quote($recall($cxx.path) $cxx.mode, true)
+
pkg_status += -d cfg
: non-empty
@@ -48,7 +50,7 @@ EOE
: module
:
{
- $* cxx "config.cxx=$config.cxx" 2>>/~%EOE%;
+ $* cxx $config_cxx 2>>/~%EOE%;
%created new configuration in .+/cfg/%
EOE
@@ -76,7 +78,7 @@ EOE
: existing
:
{
- $build 'create(cfg/,cc)' "config.cxx=$config.cxx" 2>!;
+ $build 'create(cfg/,cc)' $config_cxx 2>!;
$* --existing 2>>/~%EOE%;
%initialized existing configuration in .+/cfg/%