mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 05:03:07 +00:00
41bf9201b5
As the connected Trezors can be left in various weird states, trezorctl list may not always return what is expected or even fail. If it failed TREZOR_PATH was set to empty string which means random device got selected. For now let's avoid using incorrect device by powering down the other usb port. Fix log lines ordering.
18 lines
387 B
Bash
Executable File
18 lines
387 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
function finish {
|
|
./record_video.sh ${CI_COMMIT_SHORT_SHA} stop
|
|
ls -l *.mp4
|
|
}
|
|
trap finish EXIT
|
|
|
|
set -e # exit on nonzero exitcode
|
|
set -x # trace commands
|
|
|
|
|
|
./record_video.sh ${CI_COMMIT_SHORT_SHA} start
|
|
(cd ../.. && poetry install)
|
|
poetry run python bootstrap.py t1
|
|
poetry run python bootstrap.py t1 ../../trezor-*.bin
|
|
poetry run pytest ../../tests/device_tests
|