From 0c1dec4b2198654e5d9759b48866a443cdbeedd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Fri, 24 Feb 2023 14:32:29 +0000 Subject: [PATCH] adjusted makefile --- Makefile | 8 +++++--- contracts/mixnet/examples/mock_testing.rs | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a13100f7ba..378a1f327b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ no-clippy: build cargo-test wasm fmt happy: fmt clippy-happy test clippy-all: clippy-main clippy-main-examples clippy-all-contracts clippy-all-wallet clippy-all-connect clippy-all-connect-mobile clippy-all-wasm-client clippy-happy: clippy-happy-main clippy-happy-contracts clippy-happy-wallet clippy-happy-connect clippy-happy-connect-mobile -cargo-test: test-main test-contracts test-wallet test-connect test-connect-mobile +cargo-test: test-main test-contracts test-contracts-integration test-wallet test-connect test-connect-mobile cargo-test-expensive: test-main-expensive test-contracts-expensive test-wallet-expensive test-connect-expensive build: build-contracts build-wallet build-main build-main-examples build-connect build-connect-mobile build-wasm-client fmt: fmt-main fmt-contracts fmt-wallet fmt-connect fmt-connect-mobile fmt-wasm-client @@ -33,9 +33,8 @@ clippy-main-examples: clippy-wasm: cargo clippy --manifest-path clients/webassembly/Cargo.toml --target wasm32-unknown-unknown --workspace -- -D warnings - clippy-all-contracts: - cargo clippy --workspace --manifest-path contracts/Cargo.toml --all-features --target wasm32-unknown-unknown -- -D warnings + cargo clippy --workspace --manifest-path contracts/Cargo.toml --target wasm32-unknown-unknown -- -D warnings clippy-all-wallet: cargo clippy --workspace --manifest-path nym-wallet/Cargo.toml --all-features -- -D warnings @@ -61,6 +60,9 @@ test-contracts: test-contracts-expensive: cargo test --manifest-path contracts/Cargo.toml --all-features -- --ignored +test-contracts-integration: + cargo test --manifest-path contracts/integration-tests/Cargo.toml + test-wallet: cargo test --manifest-path nym-wallet/Cargo.toml --all-features diff --git a/contracts/mixnet/examples/mock_testing.rs b/contracts/mixnet/examples/mock_testing.rs index 05eee918e7..9bb7b9b9e1 100644 --- a/contracts/mixnet/examples/mock_testing.rs +++ b/contracts/mixnet/examples/mock_testing.rs @@ -172,6 +172,7 @@ fn writing_to_raw_storage() { ); } +// run with `cargo run --example mock_testing --features="testing-mocks"` #[cfg(not(target_arch = "wasm32"))] fn main() { normal_queries();