.PHONY: test-specific-cases
test-specific-cases:
cd benchmarks && make
cd wasm && make
cd snippets && make
cargo test --color=always --no-fail-fast --manifest-path Cargo.toml
cargo test --color=always --no-fail-fast --manifest-path e2e/Cargo.toml
cargo +nightly-2025-09-20 test --color=always --no-fail-fast --manifest-path snippets/Cargo.toml
cargo test --release --package rwasm --test nitro-verifier test_nitro_verifier -- --ignored
.PHONY: coverage
coverage:
cd benchmarks && make
cd wasm && make
cd snippets && make
cargo +nightly-2025-09-20 llvm-cov --lcov --manifest-path=./snippets/Cargo.toml > lcov1.info
cargo llvm-cov --lcov --manifest-path=./Cargo.toml > lcov2.info
cargo llvm-cov --lcov --manifest-path=./e2e/Cargo.toml > lcov3.info
grcov --llvm ./lcov1.info ./lcov2.info ./lcov3.info > lcov.info
.PHONY: clean
clean:
find . -type d -name "target" -exec rm -rf {} +
find . -name Cargo.lock ! -path './Cargo.lock' -type f -exec rm -f {} +
all: test-specific-cases