mirror of https://github.com/astral-sh/ruff
Use cpython with fuzzer corpus (#5183)
Following #5055, add cpython as a member of the fuzzer corpus unconditionally.
This commit is contained in:
parent
e520a3a721
commit
2c0ec97782
|
|
@ -17,6 +17,7 @@ if [ ! -d corpus/ruff_fix_validity ]; then
|
|||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
curl -L 'https://zenodo.org/record/3628784/files/python-corpus.tar.gz?download=1' | tar xz
|
||||
fi
|
||||
curl -L 'https://github.com/python/cpython/archive/refs/tags/v3.12.0b2.tar.gz' | tar xz
|
||||
cp -r "../../../crates/ruff/resources/test" .
|
||||
cd -
|
||||
cargo fuzz cmin -s none ruff_fix_validity
|
||||
|
|
|
|||
|
|
@ -6,9 +6,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|||
cd "$SCRIPT_DIR"
|
||||
|
||||
cd corpus/ruff_fix_validity
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
curl -L 'https://zenodo.org/record/3628784/files/python-corpus.tar.gz?download=1' | tar xz
|
||||
fi
|
||||
curl -L 'https://github.com/python/cpython/archive/refs/tags/v3.12.0b2.tar.gz' | tar xz
|
||||
cp -r "../../../crates/ruff/resources/test" .
|
||||
cd -
|
||||
cargo fuzz cmin -s none ruff_fix_validity
|
||||
|
|
|
|||
Loading…
Reference in New Issue