2021-06-22 20:50:53 +02:00
|
|
|
import platform
|
|
|
|
|
|
|
|
from milc import cli
|
|
|
|
|
|
|
|
from .check import CheckStatus
|
|
|
|
|
|
|
|
|
|
|
|
def os_test_macos():
|
|
|
|
"""Run the Mac specific tests.
|
|
|
|
"""
|
2022-06-11 20:10:09 +02:00
|
|
|
cli.log.info("Detected {fg_cyan}macOS %s (%s){fg_reset}.", platform.mac_ver()[0], 'Apple Silicon' if platform.processor() == 'arm' else 'Intel')
|
2021-06-22 20:50:53 +02:00
|
|
|
|
|
|
|
return CheckStatus.OK
|