From bd32e1e3b30a2f7517ac291211ecfd4b79a7404d Mon Sep 17 00:00:00 2001 From: matejcik Date: Fri, 9 Mar 2018 14:56:37 +0100 Subject: [PATCH] tests: set default TREZOR_PATH to the emulator (so you can run `make test_emu` with a physical Trezor connected) --- tests/run_tests_device_emu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/run_tests_device_emu.sh b/tests/run_tests_device_emu.sh index 0e18841a00..0c41f8e494 100755 --- a/tests/run_tests_device_emu.sh +++ b/tests/run_tests_device_emu.sh @@ -9,6 +9,8 @@ $MICROPYTHON -O$PYOPT main.py >/dev/null & upy_pid=$! sleep 1 +export TREZOR_PATH=udp:127.0.0.1:21324 + # run tests cd ../tests error=0