[2.0.x] Update LPC176x tests, fix clean script (#11617)

This commit is contained in:
Chris Pepper
2018-08-25 00:53:24 +01:00
committed by Scott Lahteine
parent a317bb4991
commit b71c2b8651
4 changed files with 74 additions and 27 deletions

View File

@ -20,7 +20,13 @@ export -f exec_test
env_backup
printf "Running \033[0;32m$2\033[0m Tests\n"
if [ $2 = "ALL" ]; then
if [[ $3 = "--deep-clean" ]]; then
echo "Deleting all PlatformIO caches, downloads and installed packages..."
env_clean --deep
fi
if [[ $2 = "ALL" ]]; then
dir_list=("$(dirname "${BASH_SOURCE[0]}")"/*)
declare -a tests=(${dir_list[@]/*start_tests/})
for f in "${tests[@]}"; do