tests: clear mesonlib.project_meson_versions (which **really** needs a refactor)

pull/8903/head
Daniel Mensinger 3 years ago
parent b2112bc4f6
commit 99a91df844
  1. 2
      run_tests.py

@ -14,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import collections
import os
import sys
import time
@ -268,6 +269,7 @@ def clear_meson_configure_class_caches() -> None:
compilers.CCompiler.find_framework_cache = {}
dependencies.PkgConfigDependency.pkgbin_cache = {}
dependencies.PkgConfigDependency.class_pkgbin = mesonlib.PerMachine(None, None)
mesonlib.project_meson_versions = collections.defaultdict(str)
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]:
stderr = StringIO()

Loading…
Cancel
Save