1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00
trezor-firmware/tests/run_tests_device_emu.sh
2017-10-30 18:52:10 +01:00

16 lines
213 B
Bash
Executable File

#!/bin/bash
# run emulator
cd ../src
../build/unix/micropython -O0 main.py >/dev/null &
upy_pid=$!
sleep 1
# run tests
cd ../tests
TREZOR_TRANSPORT_V1=0 ./run_tests_device.sh
error=$?
kill $upy_pid
exit $error