mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-06-20 04:16:15 -07:00
Add configurability to tests
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
.NOTPARALLEL:
|
||||
|
||||
export RUST_LOG ?= info,cargo_tarpaulin=off
|
||||
TEST_FEATURES ?=virtual,pivy-tests,opensc-tests
|
||||
|
||||
.PHONY: build-cortex-m4
|
||||
build-cortex-m4:
|
||||
@@ -11,7 +12,7 @@ build-cortex-m4:
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
cargo test --features virtual,pivy-tests,opensc-tests
|
||||
cargo test --features $(TEST_FEATURES)
|
||||
|
||||
.PHONY: check
|
||||
check:
|
||||
@@ -23,7 +24,7 @@ check:
|
||||
|
||||
.PHONY: tarpaulin
|
||||
tarpaulin:
|
||||
cargo tarpaulin --features virtual -o Html -o Xml
|
||||
cargo tarpaulin --features $(TEST_FEATURES) -o Html -o Xml
|
||||
|
||||
.PHONY: example
|
||||
example:
|
||||
|
||||
Reference in New Issue
Block a user