aboutsummaryrefslogtreecommitdiff
path: root/unittests/failuretests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-11-18 11:33:36 -0800
committerEli Schwartz <eschwartz93@gmail.com>2021-11-18 16:55:14 -0500
commitcc8018744d2b718c6868fc516ccd0c5fbe48c5e8 (patch)
tree815ac0657b810605e2f03705fc5ad93c775f9825 /unittests/failuretests.py
parent89c133b3db0522769c717aa878699cf19ab5f83d (diff)
downloadmeson-cc8018744d2b718c6868fc516ccd0c5fbe48c5e8.zip
meson-cc8018744d2b718c6868fc516ccd0c5fbe48c5e8.tar.gz
meson-cc8018744d2b718c6868fc516ccd0c5fbe48c5e8.tar.bz2
tests: replace python2 framework with metal
The bundled python is deprecated, metal is unlikely to be deprecated any time soon, so let's use that.
Diffstat (limited to 'unittests/failuretests.py')
-rw-r--r--unittests/failuretests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/unittests/failuretests.py b/unittests/failuretests.py
index b5ecf37..498b448 100644
--- a/unittests/failuretests.py
+++ b/unittests/failuretests.py
@@ -169,12 +169,12 @@ class FailureTests(BasePlatformTests):
"requires at least one module")
def test_extraframework_dependency_method(self):
- code = "dependency('python', method : 'extraframework')"
+ code = "dependency('metal', method : 'extraframework')"
if not is_osx():
self.assertMesonRaises(code, self.dnf)
else:
- # Python2 framework is always available on macOS
- self.assertMesonOutputs(code, '[Dd]ependency.*python.*found.*YES')
+ # metal framework is always available on macOS
+ self.assertMesonOutputs(code, '[Dd]ependency.*metal.*found.*YES')
def test_sdl2_notfound_dependency(self):
# Want to test failure, so skip if available