1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-26 00:08:10 +00:00

core/tests: remove PYOPT settings

This commit is contained in:
Tomas Susanka 2019-12-23 11:51:29 +00:00
parent 6594ee9368
commit 5677c254b1

View File

@ -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