mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-28 19:02:34 +00:00
tests: fix python-trezor tests
This commit is contained in:
parent
3e1b821b3c
commit
b297083e5d
@ -14,11 +14,13 @@ UPY_PID=$!
|
|||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
cd ../tests/python-trezor/tests
|
cd ../tests/python-trezor/tests/device_tests
|
||||||
export PYTHONPATH=".."
|
export PYTHONPATH="../.."
|
||||||
|
|
||||||
error=0
|
error=0
|
||||||
|
|
||||||
|
PYTHON="${PYTHON:-python2}"
|
||||||
|
|
||||||
for i in \
|
for i in \
|
||||||
test_msg_cipherkeyvalue.py \
|
test_msg_cipherkeyvalue.py \
|
||||||
test_msg_estimatetxsize.py \
|
test_msg_estimatetxsize.py \
|
||||||
@ -29,7 +31,7 @@ for i in \
|
|||||||
test_msg_signtx.py \
|
test_msg_signtx.py \
|
||||||
test_msg_verifymessage.py \
|
test_msg_verifymessage.py \
|
||||||
; do
|
; do
|
||||||
if ! python2 $i ; then
|
if ! $PYTHON $i ; then
|
||||||
error=1
|
error=1
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user