mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-11 16:00:57 +00:00
tests: extract micropython binary to variable in run_tests.sh
This commit is contained in:
parent
d2c71b3a58
commit
b3bc71c481
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
MICROPYTHON=../vendor/micropython/unix/micropython
|
||||
results=()
|
||||
error=0
|
||||
if [ -z "$*" ]; then
|
||||
@ -8,7 +9,7 @@ else
|
||||
fi
|
||||
for i in $list; do
|
||||
echo
|
||||
if ../vendor/micropython/unix/micropython $i; then
|
||||
if $MICROPYTHON $i; then
|
||||
results+=("OK $i")
|
||||
else
|
||||
results+=("FAIL $i")
|
||||
|
Loading…
Reference in New Issue
Block a user