aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-configure.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-04-13 22:37:06 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-04-14 00:42:37 +0300
commitb038abca63e64d73e64fee2c65fcc3f1743c2c4a (patch)
tree5d5ba4d9fa2aa6ff2e7c6e3451c95bd169e9db1c /tests/pkg-configure.testscript
parente106df8f3a367e2c32548abccb5606a9fc441eae (diff)
Fix 'dropping no longer used variable' warning in testscripts
Diffstat (limited to 'tests/pkg-configure.testscript')
-rw-r--r--tests/pkg-configure.testscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pkg-configure.testscript b/tests/pkg-configure.testscript
index 2374460..8430cec 100644
--- a/tests/pkg-configure.testscript
+++ b/tests/pkg-configure.testscript
@@ -276,6 +276,11 @@ if ($posix && "$uid" != '0')
: dependency-management
:
{
+ # Remove the config.cxx variable override to avoid the 'dropping no longer
+ # used variable' warning.
+ #
+ test.arguments = $regex.filter_out_match($test.arguments, 'config.cxx=.*')
+
+$clone_cfg && $rep_add $rep/stable && $rep_fetch --trust-yes
: still-has-deps
@@ -420,6 +425,11 @@ if ($posix && "$uid" != '0')
: dependency-alternatives
:
{
+ # Remove the config.cxx variable override to avoid the 'dropping no longer
+ # used variable' warning.
+ #
+ test.arguments = $regex.filter_out_match($test.arguments, 'config.cxx=.*')
+
+$clone_root_cfg && $rep_add $rep/t8a && $rep_fetch --trust-yes
: multiple-dependencies