From dfe858b8cb4ae36027edfa83474261de6790cdf6 Mon Sep 17 00:00:00 2001 From: b-m-f Date: Tue, 29 Oct 2019 16:58:39 +0000 Subject: [PATCH] Only run non-ef tests when executing make test --- Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c08d04a9b..c7d23e85c 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,20 @@ release: # Runs the full workspace tests, without downloading any additional test # vectors. test: - cargo test --all --all-features --release + cargo test --all --all-features --release --exclude ef_tests + + +# only run the ef-test vectors +--run-ef-tests: + cargo test --release --manifest-path=$(EF_TESTS)/Cargo.toml --features "ef_tests" + +test-ef: make-ef-tests --run-ef-tests # Runs the entire test suite, downloading test vectors if required. -test-full: make-ef-tests test +test-full: + test + test-ef + # Runs the makefile in the `ef_tests` repo. #