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

script: set TREZOR_PATH so that test can reliably run locally

This commit is contained in:
matejcik 2018-05-11 14:33:31 +02:00 committed by Pavol Rusnak
parent fc45d0c39b
commit e859e28354

View File

@ -10,6 +10,8 @@ if [ "$EMULATOR" = 1 ]; then
trap "kill %1" EXIT
firmware/trezor.elf &
export TREZOR_PATH=udp:127.0.0.1:21324
fi
TREZOR_TRANSPORT_V1=1 "${PYTHON:-python}" -m pytest --pyarg trezorlib.tests.device_tests "$@"
export TREZOR_TRANSPORT_V1=1
"${PYTHON:-python}" -m pytest --pyarg trezorlib.tests.device_tests "$@"