1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

build: update test runners for new paths

This commit is contained in:
matejcik 2019-08-07 17:41:46 +02:00 committed by matejcik
parent 834981f599
commit eaf1e940a8
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ export TREZOR_PATH=udp:127.0.0.1:21324
# run tests
error=0
if ! pytest "$@"; then
if ! pytest ../../tests "$@"; then
error=1
fi
kill $upy_pid

View File

@ -14,4 +14,4 @@ if [ "$EMULATOR" = 1 ]; then
"${PYTHON:-python}" script/wait_for_emulator.py
fi
"${PYTHON:-python}" -m pytest --pyargs trezorlib.tests.device_tests "$@"
"${PYTHON:-python}" -m pytest ../tests "$@"