aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-07-08 16:13:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-07-08 16:13:23 +0300
commitd2a4682d868290f1a5e0e4c4aac91f6f900bb0ad (patch)
tree1e57be0db48f9cd7e35c0a3534b7439b7f1f41a6
parentfbcdab1afc8af7001ed2ade6bb972d559cd55553 (diff)
Fix some tests to match canned command line semantics
-rw-r--r--tests/cfg-create.testscript2
-rw-r--r--tests/pkg-build.testscript2
-rw-r--r--tests/pkg-configure.testscript2
-rw-r--r--tests/pkg-update.testscript2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/cfg-create.testscript b/tests/cfg-create.testscript
index e69629d..f22bd57 100644
--- a/tests/cfg-create.testscript
+++ b/tests/cfg-create.testscript
@@ -3,7 +3,7 @@
.include common.testscript
-config_cxx = config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
cfg_create += 2>!
diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript
index fe2e4b2..0e6eafe 100644
--- a/tests/pkg-build.testscript
+++ b/tests/pkg-build.testscript
@@ -433,7 +433,7 @@ posix = ($cxx.target.class != 'windows')
$git_extract $src/git/libbaz.tar &$out_git/state1/***
end
-config_cxx = config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
cfg_create += 2>!
cfg_link += 2>!
diff --git a/tests/pkg-configure.testscript b/tests/pkg-configure.testscript
index 1c049b6..2374460 100644
--- a/tests/pkg-configure.testscript
+++ b/tests/pkg-configure.testscript
@@ -70,7 +70,7 @@
cp -r $src/t8a $out/t8a && $rep_create $out/t8a &$out/t8a/packages.manifest
end
-test.arguments += config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+test.arguments += config.cxx=$quote($recall($cxx.path) $cxx.config.mode)
pkg_disfigure += -d cfg
pkg_fetch += -d cfg 2>!
diff --git a/tests/pkg-update.testscript b/tests/pkg-update.testscript
index f0a8f64..89833d4 100644
--- a/tests/pkg-update.testscript
+++ b/tests/pkg-update.testscript
@@ -47,7 +47,7 @@
&$out/hello/signature.manifest
end
-config_cxx = config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
pkg_configure += -d cfg $config_cxx 2>!
pkg_disfigure += -d cfg