You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/script/test

16 lines
272 B

#!/bin/bash
# script/test: Run test suite for application.
set -e
cd "$(dirname "$0")/.."
if [ "$EMULATOR" = 1 ]; then
trap "kill %1" EXIT
firmware/trezor.elf &
fi
TREZOR_TRANSPORT_V1=1 "${PYTHON:-python}" -m pytest --pyarg trezorlib.tests.device_tests "$@"