mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-23 01:58:59 +00:00
d10861e478
- Add a framework to build and execute unit tests for Marlin. - Enable unit test execution as part of PR checks. --------- Co-authored-by: Costas Basdekis <costas.basdekis@gmail.com> Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
11 lines
344 B
Bash
Executable file
11 lines
344 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
rm -f Marlin/_Bootscreen.h Marlin/_Statusscreen.h marlin_config.json .pio/build/mc.zip
|
|
|
|
if [[ $1 == '-d' || $1 == '--default' ]]; then
|
|
use_example_configs
|
|
else
|
|
git checkout Marlin/Configuration.h 2>/dev/null
|
|
git checkout Marlin/Configuration_adv.h 2>/dev/null
|
|
git checkout Marlin/src/pins/*/pins_*.h 2>/dev/null
|
|
fi
|