aboutsummaryrefslogtreecommitdiff
path: root/scripts/full-test.sh
blob: 742b1e3c6e4b676695cd8174f165d502d8603267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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

./scripts/test-e2e.sh

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