|
@ -10,7 +10,7 @@ set -e |
|
|
|
|
|
|
|
|
exec_test () { |
|
|
exec_test () { |
|
|
printf "\n\033[0;32m[Test $2] \033[0m$3...\n" |
|
|
printf "\n\033[0;32m[Test $2] \033[0m$3...\n" |
|
|
if platformio run --project-dir $1 "-e $2" --silent; then |
|
|
if platformio run --project-dir $1 -e $2 --silent; then |
|
|
printf "\033[0;32mPassed\033[0m\n" |
|
|
printf "\033[0;32mPassed\033[0m\n" |
|
|
return 0 |
|
|
return 0 |
|
|
else |
|
|
else |
|
|