aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-07-08 14:09:29 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-07-08 15:49:14 +0300
commit39cbfd86305659b0e56c5e63a578ad93be60a11b (patch)
tree5fbcbe1afe47cfb29189827f2125f335510667cf
parent9403537150bd2d4e7befb1b40fb61ea8db0ed751 (diff)
Fix tests making config_c* variables of [cmdline] type
-rw-r--r--tests/ci.testscript2
-rw-r--r--tests/config.testscript2
-rw-r--r--tests/fetch.testscript2
-rw-r--r--tests/init.testscript2
-rw-r--r--tests/new.testscript4
-rw-r--r--tests/publish.testscript2
-rw-r--r--tests/status.testscript2
-rw-r--r--tests/sync.testscript2
-rw-r--r--tests/test.testscript2
-rw-r--r--tests/update.testscript2
10 files changed, 11 insertions, 11 deletions
diff --git a/tests/ci.testscript b/tests/ci.testscript
index 16d0834..00c6f64 100644
--- a/tests/ci.testscript
+++ b/tests/ci.testscript
@@ -42,7 +42,7 @@ repository='http://example.com/prj.git'
test.arguments += --yes --repository "$repository" --server "$server" \
--simulate 'success'
-config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
new += 2>!
init += $config_cxx -d prj 2>! &prj/**/bootstrap/***
diff --git a/tests/config.testscript b/tests/config.testscript
index 2a1f499..b02a2b2 100644
--- a/tests/config.testscript
+++ b/tests/config.testscript
@@ -6,7 +6,7 @@
.include common.testscript project.testscript
-config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
status += -d prj
init += -d prj
diff --git a/tests/fetch.testscript b/tests/fetch.testscript
index 08ede11..4d856a1 100644
--- a/tests/fetch.testscript
+++ b/tests/fetch.testscript
@@ -3,7 +3,7 @@
.include common.testscript project.testscript
-config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
new += 2>!
init += $config_cxx -d prj 2>!
diff --git a/tests/init.testscript b/tests/init.testscript
index 0a0e2f6..593d265 100644
--- a/tests/init.testscript
+++ b/tests/init.testscript
@@ -6,7 +6,7 @@
.include common.testscript project.testscript
-config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
status += -d prj
deinit += -d prj
diff --git a/tests/new.testscript b/tests/new.testscript
index 711ef24..9f7db17 100644
--- a/tests/new.testscript
+++ b/tests/new.testscript
@@ -9,8 +9,8 @@ posix = ($cxx.target.class != 'windows')
#
test.arguments += --no-checks
-config_c = config.c=$quote($recall($c.path) $c.config.mode, true)
-config_cxx = config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_c = [cmdline] config.c=$quote($recall($c.path) $c.config.mode, true)
+config_cxx = [cmdline] config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
status += -d prj
diff --git a/tests/publish.testscript b/tests/publish.testscript
index 08e00fe..1fd8d38 100644
--- a/tests/publish.testscript
+++ b/tests/publish.testscript
@@ -20,7 +20,7 @@ end
test.arguments += --repository "$repository" --yes \
--author-name user --author-email user@example.com
-config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
new += 2>!
init += $config_cxx -d prj 2>! &prj/**/bootstrap/***
diff --git a/tests/status.testscript b/tests/status.testscript
index 4209969..941bc14 100644
--- a/tests/status.testscript
+++ b/tests/status.testscript
@@ -3,7 +3,7 @@
.include common.testscript project.testscript
-config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
new += 2>!
init += $config_cxx -d prj 2>!
diff --git a/tests/sync.testscript b/tests/sync.testscript
index d03907f..8fabf3b 100644
--- a/tests/sync.testscript
+++ b/tests/sync.testscript
@@ -3,7 +3,7 @@
.include common.testscript
-config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
new += 2>!
init += 2>!
diff --git a/tests/test.testscript b/tests/test.testscript
index 1079ccf..e1d44b3 100644
--- a/tests/test.testscript
+++ b/tests/test.testscript
@@ -3,7 +3,7 @@
.include common.testscript
-config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
new += 2>!
init += $config_cxx -d prj 2>!
diff --git a/tests/update.testscript b/tests/update.testscript
index 39d20ae..40634a6 100644
--- a/tests/update.testscript
+++ b/tests/update.testscript
@@ -6,7 +6,7 @@
.include common.testscript
-config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
+config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
new += 2>!
init += $config_cxx -d prj 2>!