From d0efdfa7158e1336272903b8c0a297ce9204005a Mon Sep 17 00:00:00 2001 From: matejcik Date: Mon, 20 Sep 2021 14:46:07 +0200 Subject: [PATCH] fix(core/rust): enable "test" feature for Rust unit test --- core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index 1406c6e09..265a36663 100644 --- a/core/Makefile +++ b/core/Makefile @@ -79,7 +79,7 @@ test: ## run unit tests cd tests ; ./run_tests.sh $(TESTOPTS) test_rust: ## run rs unit tests - cd embed/rust ; cargo test -- --test-threads=1 + cd embed/rust ; cargo test --features test -- --test-threads=1 test_emu: ## run selected device tests from python-trezor $(EMU_TEST) $(PYTEST) $(TESTPATH)/device_tests $(TESTOPTS)