From a5fe7ed724d64b6e55fdd4a20a257eaa810d3a7c Mon Sep 17 00:00:00 2001 From: aggstam Date: Fri, 24 Feb 2023 13:34:15 +0200 Subject: [PATCH] contract/money/makefile: added integration test --- src/contract/money/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/contract/money/Makefile b/src/contract/money/Makefile index 4a1d0cd55..e6c78eb76 100644 --- a/src/contract/money/Makefile +++ b/src/contract/money/Makefile @@ -28,6 +28,11 @@ $(WASM_BIN): $(WASM_SRC) $(PROOFS_BIN) $(PROOFS_BIN): $(ZKAS) $(PROOFS_SRC) $(ZKAS) $(basename $@) -o $@ +test-integration: all + $(CARGO) test --release --features=no-entrypoint,client \ + --package darkfi-money-contract \ + --test integration + test-mint-pay-swap: all $(CARGO) test --release --features=no-entrypoint,client \ --package darkfi-money-contract \ @@ -38,9 +43,9 @@ bench: --package darkfi-money-contract \ --test verification_bench $(FILTER) -test: test-mint-pay-swap +test: test-integration test-mint-pay-swap clean: rm -f $(PROOFS_BIN) $(WASM_BIN) -.PHONY: all test-mint-pay-swap bench test clean +.PHONY: all test-integration test-mint-pay-swap bench test clean