1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 05:58:09 +00:00

fix(core/rust): enable "test" feature for Rust unit test

This commit is contained in:
matejcik 2021-09-20 14:46:07 +02:00 committed by Martin Milata
parent 2c8dec93a6
commit d0efdfa715

View File

@ -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)