1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-28 00:58:09 +00:00

tests: run v1 protocol tests

This commit is contained in:
Jan Pochyla 2017-10-31 13:55:51 +01:00
parent f4ebe368b9
commit 936487a523

View File

@ -8,8 +8,12 @@ sleep 1
# run tests # run tests
cd ../tests cd ../tests
TREZOR_TRANSPORT_V1=0 ./run_tests_device.sh error=0
error=$? if ! TREZOR_TRANSPORT_V1=0 ./run_tests_device.sh; then
error=1
fi
if ! TREZOR_TRANSPORT_V1=1 ./run_tests_device.sh; then
error=1
fi
kill $upy_pid kill $upy_pid
exit $error exit $error