1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 08:38:07 +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
cd ../tests
TREZOR_TRANSPORT_V1=0 ./run_tests_device.sh
error=$?
error=0
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
exit $error