aboutsummaryrefslogtreecommitdiff
path: root/scripts/full-test.sh
blob: f7cd45e46cb3ff4ba68f4514234e27edcf1685ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env sh

set -ex

cargo build --all --all-targets --all-features
cargo clippy --all-targets --all-features
cargo test --all-targets --all-features -- --nocapture

pushd lib/xixanta
cargo +nightly fuzz run fuzz_target_parser -- -max_total_time=180
cargo +nightly fuzz run fuzz_target_assembler -- -max_total_time=180
popd

pushd lib/header
cargo +nightly fuzz run fuzz_target_header -- -max_total_time=180
popd