From 39cbfd86305659b0e56c5e63a578ad93be60a11b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 8 Jul 2022 14:09:29 +0300 Subject: Fix tests making config_c* variables of [cmdline] type --- tests/ci.testscript | 2 +- tests/config.testscript | 2 +- tests/fetch.testscript | 2 +- tests/init.testscript | 2 +- tests/new.testscript | 4 ++-- tests/publish.testscript | 2 +- tests/status.testscript | 2 +- tests/sync.testscript | 2 +- tests/test.testscript | 2 +- tests/update.testscript | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) (limited to 'tests') 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>! -- cgit v1.1