From 16a14a7260df49f103699b7f2755f7adf6d691f0 Mon Sep 17 00:00:00 2001 From: parazyd Date: Tue, 6 Jun 2023 12:53:02 +0200 Subject: [PATCH] Makefile: Add test-no-run target to be able to only compile tests. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e80b234c1..19bb75286 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,9 @@ rustdoc: token_lists contracts $(PROOFS_BIN) test: token_lists $(PROOFS_BIN) contracts $(CARGO) test --release --all-features --all +test-no-run: token_lists $(PROOFS_BIN) contracts + $(CARGO) test --release --all-features --all --no-run + coverage: token_lists contracts $(PROOFS_BIN) $(CARGO) llvm-cov --release --all-features --workspace --html @@ -100,4 +103,6 @@ uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/$$i; \ done; -.PHONY: all contracts token_lists check fix clippy rustdoc test cleanbin clean install uninstall coverage +.PHONY: \ + all contracts token_lists check fix clippy rustdoc test test-no-run \ + cleanbin clean install uninstall coverage