From 5677c254b1f5116944bb16b5bfbb064afafc973f Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Mon, 23 Dec 2019 11:51:29 +0000 Subject: [PATCH] core/tests: remove PYOPT settings --- core/tests/run_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/tests/run_tests.sh b/core/tests/run_tests.sh index c015d48bac..6dbc97659b 100755 --- a/core/tests/run_tests.sh +++ b/core/tests/run_tests.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash declare -a results -declare -i PYOPT=1 passed=0 failed=0 exit_code=0 +declare -i passed=0 failed=0 exit_code=0 declare COLOR_GREEN='\e[32m' COLOR_RED='\e[91m' COLOR_RESET='\e[39m' MICROPYTHON="${MICROPYTHON:-../build/unix/micropython}" @@ -27,7 +27,7 @@ declare -i num_of_tests=${#tests[@]} for test_case in ${tests[@]}; do echo - if $MICROPYTHON -O$PYOPT $test_case; then + if $MICROPYTHON $test_case; then results+=("${COLOR_GREEN}OK:${COLOR_RESET} $test_case") ((passed++)) else