summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2023-12-01 16:20:23 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2023-12-03 12:53:15 +0200
commitc1f0897248fabad78877f124b431fd65bc8ba434 (patch)
tree8930f40a0091146128d2fd8acbdd20e87b047ea9
parenteb44957c1f4773ca4ff9759e7e75375b891dcd12 (diff)
downloadmeson-c1f0897248fabad78877f124b431fd65bc8ba434.tar.gz
macos: Fix path in test to be Sonoma compatible
The path tested prior does not exist anymore in Sonoma. It seems less likely that 'cat' will be removed, so use that.
-rw-r--r--unittests/darwintests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/darwintests.py b/unittests/darwintests.py
index 1f177602c..91ccb42b5 100644
--- a/unittests/darwintests.py
+++ b/unittests/darwintests.py
@@ -151,5 +151,5 @@ class DarwinTests(BasePlatformTests):
def test_darwin_get_object_archs(self):
from mesonbuild.mesonlib import darwin_get_object_archs
- archs = darwin_get_object_archs('/System/Library/CoreServices/Encodings/libSymbolConverter.dylib')
+ archs = darwin_get_object_archs('/bin/cat')
self.assertEqual(archs, ['x86_64', 'aarch64'])