diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-04-13 22:37:06 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-04-15 09:58:57 +0200 |
commit | 916b51eda7974e79efabd789785f2f88bc39a7e1 (patch) | |
tree | a01bdb24b0d3847d6886e3d7f62a319a88778576 /tests/pkg-configure.testscript | |
parent | 5267c62f8c1f483c5348d4a2e498088a41c2e945 (diff) |
Fix 'dropping no longer used variable' warning in tests
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 |