From 67b8f1485d205327d5f22150a7b84d3d5fe82219 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 18 Dec 2024 12:10:58 +0100 Subject: scripts: Add a script to perform all tests at once MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- scripts/full-test.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 scripts/full-test.sh (limited to 'scripts') 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 -- cgit v1.2.3