summaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@quansight.com>2025-09-04 15:26:33 +0200
committerDylan Baker <dylan@pnwbakers.com>2025-09-19 08:34:34 -0700
commit5f3d12abc814b9ea99e56ea31b79a4cb3e8411fc (patch)
tree1ab509bb414306a5a3233a4a1e793a7b6bc00d46 /run_project_tests.py
parent8bba5d0a80ece5c14f5e56468dcf50752fe5d46d (diff)
downloadmeson-5f3d12abc814b9ea99e56ea31b79a4cb3e8411fc.tar.gz
pkgconfig: Fix class cached to be keyed on extra_paths
Add `extra_paths` to cache keys for `PkgConfigInterface` and `PkgConfigCLI` instances, to avoid incorrectly reusing an instance with a different `extra_paths` value, see: https://github.com/mesonbuild/meson/pull/14657#discussion_r2320623799 Signed-off-by: Michał Górny <mgorny@quansight.com>
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index ce6e5c2da..b2442703e 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -555,8 +555,8 @@ def clear_internal_caches() -> None:
from mesonbuild.mesonlib import PerMachine
mesonbuild.interpreterbase.FeatureNew.feature_registry = {}
CMakeDependency.class_cmakeinfo = PerMachine(None, None)
- PkgConfigInterface.class_impl = PerMachine(False, False)
- PkgConfigInterface.class_cli_impl = PerMachine(False, False)
+ PkgConfigInterface.class_impl = PerMachine({}, {})
+ PkgConfigInterface.class_cli_impl = PerMachine({}, {})
PkgConfigInterface.pkg_bin_per_machine = PerMachine(None, None)