diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-04-13 22:37:06 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-04-14 00:42:37 +0300 |
commit | b038abca63e64d73e64fee2c65fcc3f1743c2c4a (patch) | |
tree | 5d5ba4d9fa2aa6ff2e7c6e3451c95bd169e9db1c /tests/pkg-configure.testscript | |
parent | e106df8f3a367e2c32548abccb5606a9fc441eae (diff) |
Fix 'dropping no longer used variable' warning in testscripts
Diffstat (limited to 'tests/pkg-configure.testscript')
-rw-r--r-- | tests/pkg-configure.testscript | 10 |
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 |