mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
Minor fuzzer improvements (#9375)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary - Adds timeouts to fuzzer cmin stages in the case of an infinite loop - Adds executable flag to reinit-fuzzer.sh because it was annoying me ## Test Plan Not needed.
This commit is contained in:
parent
6c0734680e
commit
154d3b9f4b
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ if [ ! -d corpus/ruff_fix_validity ]; then
|
|||
curl -L 'https://github.com/python/cpython/archive/refs/tags/v3.12.0b2.tar.gz' | tar xz
|
||||
cp -r "../../../crates/ruff_linter/resources/test" .
|
||||
cd -
|
||||
cargo fuzz cmin -s none ruff_fix_validity
|
||||
cargo fuzz cmin -s none ruff_fix_validity -- -timeout=5
|
||||
fi
|
||||
|
||||
echo "Done! You are ready to fuzz."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue