From 8166cf5421685f25c6a482e14eaeacb209d1aadc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 16 Jul 2020 09:13:21 +0200 Subject: Use *.config.mode instead of *.mode in tests --- 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 962b161..7c106ee 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.mode, true) +config_cxx = 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 2e28399..3af7621 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.mode, true) +config_cxx = 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 2b8f8c2..9ffd7aa 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.mode, true) +config_cxx = 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 f52de21..a0aef6d 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.mode, true) +config_cxx = 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 34b4dca..34a45e1 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.mode, true) -config_cxx = config.cxx=$quote($recall($cxx.path) $cxx.mode, true) +config_c = config.c=$quote($recall($c.path) $c.config.mode, true) +config_cxx = config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true) status += -d prj diff --git a/tests/publish.testscript b/tests/publish.testscript index 5428c3b..3427b1d 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.mode, true) +config_cxx = 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 03e55a9..49b5412 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.mode, true) +config_cxx = 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 3c13c25..68a4c70 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.mode, true) +config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true) new += 2>! init += $config_cxx -d prj 2>! diff --git a/tests/test.testscript b/tests/test.testscript index 18c7162..88dadaf 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.mode, true) +config_cxx = 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 b3e1b97..7e03238 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.mode, true) +config_cxx = cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true) new += 2>! init += $config_cxx -d prj 2>! -- cgit v1.1