mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-24 04:12:56 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
90b1e271a8
@ -31,16 +31,22 @@ def os_tests():
|
||||
def os_test_linux():
|
||||
"""Run the Linux specific tests.
|
||||
"""
|
||||
cli.log.info("Detected {fg_cyan}Linux.")
|
||||
from qmk.os_helpers.linux import check_udev_rules
|
||||
# Don't bother with udev on WSL, for now
|
||||
if 'microsoft' in platform.uname().release.lower():
|
||||
cli.log.info("Detected {fg_cyan}Linux (WSL){fg_reset}.")
|
||||
|
||||
return check_udev_rules()
|
||||
return CheckStatus.OK
|
||||
else:
|
||||
cli.log.info("Detected {fg_cyan}Linux{fg_reset}.")
|
||||
from qmk.os_helpers.linux import check_udev_rules
|
||||
|
||||
return check_udev_rules()
|
||||
|
||||
|
||||
def os_test_macos():
|
||||
"""Run the Mac specific tests.
|
||||
"""
|
||||
cli.log.info("Detected {fg_cyan}macOS.")
|
||||
cli.log.info("Detected {fg_cyan}macOS{fg_reset}.")
|
||||
|
||||
return CheckStatus.OK
|
||||
|
||||
@ -48,7 +54,7 @@ def os_test_macos():
|
||||
def os_test_windows():
|
||||
"""Run the Windows specific tests.
|
||||
"""
|
||||
cli.log.info("Detected {fg_cyan}Windows.")
|
||||
cli.log.info("Detected {fg_cyan}Windows{fg_reset}.")
|
||||
|
||||
return CheckStatus.OK
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user