#!/usr/bin/env bash
# exit on first failure
set -e
restore_configs
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
exec_test $1 $2 "Build Re-ARM Default Configuration"
opt_enable VIKI2 SDSUPPORT
exec_test $1 $2 "VIKI2 and SDSUPPORT"
opt_set MOTHERBOARD BOARD_MKS_SBASE
opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
exec_test $1 $2 "MKS SBASE RRDFG SDSUPPORT EEPROM_SETTINGS"
#clean up