diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-09 22:15:05 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-09 22:15:05 +0200 |
| commit | 7b83a222ee52c579d127ec40701c57b5576ddf71 (patch) | |
| tree | decb8b1d7a2405f0ba7f11b61a20dada666683d3 /scripts/fuzz.sh | |
| parent | a012d260db4ad9a234a2ef29e8c0f7f6ef5f6a4e (diff) | |
| download | tools.nes-7b83a222ee52c579d127ec40701c57b5576ddf71.tar.gz tools.nes-7b83a222ee52c579d127ec40701c57b5576ddf71.zip | |
scripts: separate fuzzy testing into its own file
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à <mssola@mssola.com>
Diffstat (limited to 'scripts/fuzz.sh')
| -rwxr-xr-x | scripts/fuzz.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
