-
Notifications
You must be signed in to change notification settings - Fork 193
/
Makefile
24 lines (19 loc) · 843 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PHONY: runtime-upgrade-test
runtime-upgrade-test:
cargo build -p $(runtime)-runtime --release --locked
cd tests/e2e && yarn --frozen-lockfile && yarn test:runtime-upgrade-$(runtime)
# use `cargo nextest run` if cargo-nextest is installed, fallback cargo test
cargo_test = $(shell which cargo-nextest >/dev/null && echo "cargo nextest run" || echo "cargo test")
.PHONY: test
test:
${cargo_test} --workspace
.PHONY: test-features
test-features:
${cargo_test} --workspace --features try-runtime,runtime-benchmarks,evm-tracing
.PHONY: test-runtimes
test-runtimes:
SKIP_WASM_BUILD= ${cargo_test} -p integration-tests --features=shibuya
SKIP_WASM_BUILD= ${cargo_test} -p integration-tests --features=shiden
SKIP_WASM_BUILD= ${cargo_test} -p integration-tests --features=astar
.PHONY: test-all
test-all: test test-runtimes test-features