diff options
| author | Michał Górny <mgorny@quansight.com> | 2025-09-04 15:26:33 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-09-19 08:34:34 -0700 |
| commit | 5f3d12abc814b9ea99e56ea31b79a4cb3e8411fc (patch) | |
| tree | 1ab509bb414306a5a3233a4a1e793a7b6bc00d46 /run_tests.py | |
| parent | 8bba5d0a80ece5c14f5e56468dcf50752fe5d46d (diff) | |
| download | meson-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_tests.py')
| -rwxr-xr-x | run_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py index 6ca84f07f..ed224f817 100755 --- a/run_tests.py +++ b/run_tests.py @@ -289,7 +289,7 @@ def run_mtest_inprocess(commandlist: T.List[str]) -> T.Tuple[int, str]: def clear_meson_configure_class_caches() -> None: CCompiler.find_library_cache.clear() CCompiler.find_framework_cache.clear() - PkgConfigInterface.class_impl.assign(False, False) + PkgConfigInterface.class_impl.assign({}, {}) mesonlib.project_meson_versions.clear() def run_configure_inprocess(commandlist: T.List[str], env: T.Optional[T.Dict[str, str]] = None, catch_exception: bool = False) -> T.Tuple[int, str, str]: |
