at master 312 B view raw
1import platform 2 3from milc import cli 4 5from .check import CheckStatus 6 7 8def os_test_macos(): 9 """Run the Mac specific tests. 10 """ 11 cli.log.info("Detected {fg_cyan}macOS %s (%s){fg_reset}.", platform.mac_ver()[0], 'Apple Silicon' if platform.processor() == 'arm' else 'Intel') 12 13 return CheckStatus.OK