mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-27 08:38:07 +00:00
core/tests: remove PYOPT settings
This commit is contained in:
parent
6594ee9368
commit
5677c254b1
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
declare -a results
|
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'
|
declare COLOR_GREEN='\e[32m' COLOR_RED='\e[91m' COLOR_RESET='\e[39m'
|
||||||
MICROPYTHON="${MICROPYTHON:-../build/unix/micropython}"
|
MICROPYTHON="${MICROPYTHON:-../build/unix/micropython}"
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ declare -i num_of_tests=${#tests[@]}
|
|||||||
|
|
||||||
for test_case in ${tests[@]}; do
|
for test_case in ${tests[@]}; do
|
||||||
echo
|
echo
|
||||||
if $MICROPYTHON -O$PYOPT $test_case; then
|
if $MICROPYTHON $test_case; then
|
||||||
results+=("${COLOR_GREEN}OK:${COLOR_RESET} $test_case")
|
results+=("${COLOR_GREEN}OK:${COLOR_RESET} $test_case")
|
||||||
((passed++))
|
((passed++))
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user