aboutsummaryrefslogtreecommitdiff
path: root/scripts/full-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/full-test.sh')
-rwxr-xr-xscripts/full-test.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/full-test.sh b/scripts/full-test.sh
new file mode 100755
index 0000000..f7cd45e
--- /dev/null
+++ b/scripts/full-test.sh
@@ -0,0 +1,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