🧑💻 Allow for tests on macOS / Windows
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# collect-code-tests.py
|
||||
# Convenience script to collect all code tests. Used by env:linux_native_test in native.ini.
|
||||
# Convenience script to collect all code tests. Used by test envs in native.ini.
|
||||
#
|
||||
|
||||
import pioutil
|
||||
@@ -32,7 +32,7 @@ if pioutil.is_pio_build():
|
||||
"restore_configs",
|
||||
f"cp -f {path} ./Marlin/config.ini",
|
||||
"python ./buildroot/share/PlatformIO/scripts/configuration.py",
|
||||
f"platformio test -e linux_native_test -f {name}",
|
||||
f"platformio test -e {env['PIOENV']} -f {name}",
|
||||
"restore_configs",
|
||||
],
|
||||
title = "Marlin: {}".format(name.lower().title().replace("_", " ")),
|
||||
@@ -46,7 +46,7 @@ if pioutil.is_pio_build():
|
||||
name = "test-marlin",
|
||||
dependencies = None,
|
||||
actions = [
|
||||
f"platformio run -t marlin_{name} -e linux_native_test"
|
||||
f"platformio run -t marlin_{name} -e {env['PIOENV']}"
|
||||
for name in targets
|
||||
],
|
||||
title = "Marlin: Test all code test suites",
|
||||
|
||||
Reference in New Issue
Block a user