From 7b83a222ee52c579d127ec40701c57b5576ddf71 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 9 Jul 2026 22:15:05 +0200 Subject: scripts: separate fuzzy testing into its own file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way we can simply run fuzzy testing multiple times from the shell without having to run the full tests too. Signed-off-by: Miquel Sabaté Solà --- scripts/fuzz.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/fuzz.sh (limited to 'scripts/fuzz.sh') diff --git a/scripts/fuzz.sh b/scripts/fuzz.sh new file mode 100755 index 0000000..59d52a2 --- /dev/null +++ b/scripts/fuzz.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env sh + +set -ex + +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