build_all_examples -c -s, silent mftest

This commit is contained in:
Scott Lahteine
2021-03-01 05:39:31 -06:00
parent 21372c3d4e
commit b2bc85f6f6
3 changed files with 32 additions and 12 deletions

View File

@ -105,7 +105,7 @@ if ((REBUILD)); then
# Build with the last-built env
[[ -f "$STATE_FILE" ]] || { errout "No previous (-r) build state found." ; exit 1 ; }
read TESTENV <"$STATE_FILE"
pio run -d . -e $TESTENV
pio run -s -d . -e $TESTENV
exit
fi
@ -192,7 +192,7 @@ if ((AUTO_BUILD)); then
pio run -t upload -e $TARGET
else
echo "Building environment $TARGET for board $MB ($BNUM)..." ; echo
pio run -e $TARGET
pio run -s -e $TARGET
fi
exit
fi
@ -307,6 +307,6 @@ fi
[[ $BUILD_YES == 'Y' || $BUILD_YES == 'Yes' ]] && {
((USE_MAKE)) && make tests-single-local TEST_TARGET=$TESTENV ONLY_TEST=$CHOICE
((USE_MAKE)) || pio run -d . -e $TESTENV
((USE_MAKE)) || pio run -s -d . -e $TESTENV
echo "$TESTENV" >"$STATE_FILE"
}