Update platform tests to use '.test' folder
parent
18f1af2dca
commit
05dc79e78d
@ -1,17 +1,15 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# restore_configs
|
||||||
|
#
|
||||||
|
# Restore default configs, delete pins backup and dogm bitmaps
|
||||||
|
#
|
||||||
|
|
||||||
cp Marlin/src/config/default/Configuration.h Marlin/Configuration.h
|
# Restore the (possibly modified) Configurations
|
||||||
cp Marlin/src/config/default/Configuration_adv.h Marlin/Configuration_adv.h
|
[ -d ".test" -a -f ".test/Configuration.h" ] && cp .test/Configuration*.h Marlin/
|
||||||
|
|
||||||
if [ -f Marlin/src/pins/pins_RAMPS.h.backup ]; then
|
# Restore the original unmodified pins
|
||||||
cp Marlin/src/pins/pins_RAMPS.h.backup Marlin/src/pins/pins_RAMPS.h
|
[ -d ".test/pins" ] && cp -r .test/pins Marlin/src/pins/
|
||||||
rm Marlin/src/pins/pins_RAMPS.h.backup
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f Marlin/_Bootscreen.h ]; then
|
# Delete DOGM bitmaps
|
||||||
rm Marlin/_Bootscreen.h
|
rm -f Marlin/_*screen.h
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f Marlin/_Statusscreen.h ]; then
|
|
||||||
rm Marlin/_Statusscreen.h
|
|
||||||
fi
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
|
cp Marlin/Configuration*.h .test/
|
||||||
cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
|
|
||||||
|
Loading…
Reference in New Issue