mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-04 11:51:50 +00:00
build: update test runners for new paths
This commit is contained in:
parent
834981f599
commit
eaf1e940a8
@ -22,7 +22,7 @@ export TREZOR_PATH=udp:127.0.0.1:21324
|
|||||||
|
|
||||||
# run tests
|
# run tests
|
||||||
error=0
|
error=0
|
||||||
if ! pytest "$@"; then
|
if ! pytest ../../tests "$@"; then
|
||||||
error=1
|
error=1
|
||||||
fi
|
fi
|
||||||
kill $upy_pid
|
kill $upy_pid
|
||||||
|
@ -14,4 +14,4 @@ if [ "$EMULATOR" = 1 ]; then
|
|||||||
"${PYTHON:-python}" script/wait_for_emulator.py
|
"${PYTHON:-python}" script/wait_for_emulator.py
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"${PYTHON:-python}" -m pytest --pyargs trezorlib.tests.device_tests "$@"
|
"${PYTHON:-python}" -m pytest ../tests "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user