diff --git a/tests/test_osx_utils.sh b/tests/test_osx_utils.sh index 8fe019b5..0ab10a2a 100644 --- a/tests/test_osx_utils.sh +++ b/tests/test_osx_utils.sh @@ -46,26 +46,29 @@ [ "$(macpython_impl_for_version pypy-5.4)" == "pp" ] || ingest # Test lookup of available macOS SDK build targets from python version -[ "$(macpython_sdk_list_for_version 3.8)" == "10.9" ] || ingest -[ "$(macpython_sdk_list_for_version 3.7.5)" == "10.6 10.9" ] || ingest -[ "$(macpython_sdk_list_for_version 3.7)" == "10.6 10.9" ] || ingest -[ "$(macpython_sdk_list_for_version 3.6.5)" == "10.6 10.9" ] || ingest -[ "$(macpython_sdk_list_for_version 3.6)" == "10.6 10.9" ] || ingest -[ "$(macpython_sdk_list_for_version 3.5)" == "10.6" ] || ingest -[ "$(macpython_sdk_list_for_version 2.7)" == "10.9" ] || ingest -[ "$(macpython_sdk_list_for_version 2.7.14)" == "10.6" ] || ingest -[ "$(macpython_sdk_list_for_version 2.7.15)" == "10.6 10.9" ] || ingest -[ "$(macpython_sdk_list_for_version 2.7.17)" == "10.6 10.9" ] || ingest -[ "$(macpython_sdk_list_for_version 2.7.18)" == "10.9" ] || ingest - +if [ "$(uname -m)" != "arm64" ]; then + [ "$(macpython_sdk_list_for_version 3.8)" == "10.9" ] || ingest + [ "$(macpython_sdk_list_for_version 3.7.5)" == "10.6 10.9" ] || ingest + [ "$(macpython_sdk_list_for_version 3.7)" == "10.6 10.9" ] || ingest + [ "$(macpython_sdk_list_for_version 3.6.5)" == "10.6 10.9" ] || ingest + [ "$(macpython_sdk_list_for_version 3.6)" == "10.6 10.9" ] || ingest + [ "$(macpython_sdk_list_for_version 3.5)" == "10.6" ] || ingest + [ "$(macpython_sdk_list_for_version 2.7)" == "10.9" ] || ingest + [ "$(macpython_sdk_list_for_version 2.7.14)" == "10.6" ] || ingest + [ "$(macpython_sdk_list_for_version 2.7.15)" == "10.6 10.9" ] || ingest + [ "$(macpython_sdk_list_for_version 2.7.17)" == "10.6 10.9" ] || ingest + [ "$(macpython_sdk_list_for_version 2.7.18)" == "10.9" ] || ingest +fi (PLAT="arm64"; [ "$(macpython_sdk_for_version 3.9)" == "11.0" ] || ingest) (PLAT="universal2"; [ "$(macpython_sdk_for_version 3.9)" == "10.9" ] || ingest) (PLAT="x86_64"; [ "$(macpython_sdk_for_version 3.9)" == "10.9" ] || ingest) -[ "$(macpython_sdk_for_version 3.9)" == "10.9" ] || ingest -[ "$(macpython_sdk_for_version 3.8)" == "10.9" ] || ingest -[ "$(macpython_sdk_for_version 3.5)" == "10.6" ] || ingest -[ "$(macpython_sdk_for_version 2.7)" == "10.9" ] || ingest -[ "$(macpython_sdk_for_version 2.7.14)" == "10.6" ] || ingest +if [ "$(uname -m)" != "arm64" ]; then + [ "$(macpython_sdk_for_version 3.9)" == "10.9" ] || ingest + [ "$(macpython_sdk_for_version 3.8)" == "10.9" ] || ingest + [ "$(macpython_sdk_for_version 3.5)" == "10.6" ] || ingest + [ "$(macpython_sdk_for_version 2.7)" == "10.9" ] || ingest + [ "$(macpython_sdk_for_version 2.7.14)" == "10.6" ] || ingest +fi # Test pkg-config install install_pkg_config