Skip to content

Commit bacf632

Browse files
committed
chore(make): add fuzz smoke targets (#33)
1 parent 7b83941 commit bacf632

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

Makefile

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CARGO_NIGHTLY := $(shell which cargo 2>/dev/null || echo $(HOME)/.cargo/bin/carg
55
test test-unit test-property test-vector test-doc test-all test-no-default test-one \
66
bench bench-hash bench-merkle bench-address bench-flow \
77
fuzz fuzz-merkle fuzz-proof fuzz-witness fuzz-rlp \
8+
fuzz-rlp-decode fuzz-evm-opcode fuzz-smoke \
89
example-create example-spend example-verify examples \
910
cli cli-help cli-demo \
1011
cli-create cli-derive cli-proof cli-verify cli-signing \
@@ -79,7 +80,7 @@ bench-flow:
7980
# Fuzz (requires nightly)
8081
# ─────────────────────────────────────────────
8182

82-
fuzz: fuzz-merkle fuzz-proof fuzz-witness fuzz-rlp
83+
fuzz: fuzz-merkle fuzz-proof fuzz-witness fuzz-rlp fuzz-rlp-decode fuzz-evm-opcode
8384

8485
fuzz-merkle:
8586
$(CARGO_NIGHTLY) fuzz run fuzz_merkle
@@ -93,6 +94,20 @@ fuzz-witness:
9394
fuzz-rlp:
9495
$(CARGO_NIGHTLY) fuzz run fuzz_rlp
9596

97+
fuzz-rlp-decode:
98+
$(CARGO_NIGHTLY) fuzz run fuzz_rlp_decode
99+
100+
fuzz-evm-opcode:
101+
$(CARGO_NIGHTLY) fuzz run fuzz_evm_opcode
102+
103+
fuzz-smoke:
104+
$(CARGO_NIGHTLY) fuzz run fuzz_merkle -- -max_total_time=30
105+
$(CARGO_NIGHTLY) fuzz run fuzz_proof -- -max_total_time=30
106+
$(CARGO_NIGHTLY) fuzz run fuzz_witness -- -max_total_time=30
107+
$(CARGO_NIGHTLY) fuzz run fuzz_rlp -- -max_total_time=30
108+
$(CARGO_NIGHTLY) fuzz run fuzz_rlp_decode -- -max_total_time=30
109+
$(CARGO_NIGHTLY) fuzz run fuzz_evm_opcode -- -max_total_time=30
110+
96111
# ─────────────────────────────────────────────
97112
# Examples
98113
# ─────────────────────────────────────────────

0 commit comments

Comments
 (0)