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

set -ex

export RUSTFLAGS="-Dwarnings"

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