ci(fuzz): Ensure 8GiB is available during
This commit is contained in:
parent
232bbc612e
commit
0d487aa43e
1 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,8 @@ while true; do
|
|||
cp -r "fuzz/corpus/fuzz_$1_iter_${i}" "fuzz/corpus/fuzz_$1_iter_${i}.bak"
|
||||
mkdir "fuzz/corpus/fuzz_$1_iter_${j}"
|
||||
cargo fuzz cmin --all-features "fuzz_$1" "fuzz/corpus/fuzz_$1_iter_${i}" -- \
|
||||
-dict=fuzz/fuzz.dict -max_len="$2" "fuzz/corpus/fuzz_$1_iter_${j}"
|
||||
-dict=fuzz/fuzz.dict -max_len="$2" "fuzz/corpus/fuzz_$1_iter_${j}" \
|
||||
-rss_limit_mb=8192
|
||||
if diff "fuzz/corpus/fuzz_$1_iter_${i}.bak" "fuzz/corpus/fuzz_$1_iter_${j}"; then
|
||||
# Last iteration made no difference, so we're done
|
||||
rm -r "fuzz/corpus/fuzz_$1"
|
||||
|
@ -16,4 +17,4 @@ while true; do
|
|||
exit 0
|
||||
fi
|
||||
i=$j
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue