diff options
Diffstat (limited to 'tests/pkg-configure.testscript')
-rw-r--r-- | tests/pkg-configure.testscript | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/pkg-configure.testscript b/tests/pkg-configure.testscript index 1c049b6..8430cec 100644 --- a/tests/pkg-configure.testscript +++ b/tests/pkg-configure.testscript @@ -70,7 +70,7 @@ cp -r $src/t8a $out/t8a && $rep_create $out/t8a &$out/t8a/packages.manifest end -test.arguments += config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true) +test.arguments += config.cxx=$quote($recall($cxx.path) $cxx.config.mode) pkg_disfigure += -d cfg pkg_fetch += -d cfg 2>! @@ -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 |