idna, pyyaml, glom: cleanup build (#8956)

This variable is no longer needed by fuzz-introspector python version
for these projects.

Signed-off-by: David Korczynski <david@adalogics.com>

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
DavidKorczynski 2022-11-09 14:48:39 +01:00 committed by GitHub
parent 4925ae2682
commit f778ae5547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 16 deletions

View File

@ -15,9 +15,6 @@
#
################################################################################
# For fuzz-introspector
export PYFUZZPACKAGE=$PWD/glom/
pip3 install .
# Build fuzzers in $OUT.

View File

@ -17,7 +17,7 @@ import atheris
import sys
with atheris.instrument_imports():
from glom import *
import glom
import json
@ -26,8 +26,8 @@ def TestOneInput(data):
val = {'d': {'e': ['f']}}
try:
core.glom(val, fdp.ConsumeString(30))
except core.PathAccessError:
glom.core.glom(val, fdp.ConsumeString(30))
except glom.core.PathAccessError:
pass
# Create a random dictionary. In this case if any
@ -42,8 +42,8 @@ def TestOneInput(data):
# Use random dict as input to glom
try:
core.glom(data, fdp.ConsumeString(30))
except core.PathAccessError:
glom.core.glom(data, fdp.ConsumeString(30))
except glom.core.PathAccessError:
pass

View File

@ -15,9 +15,6 @@
#
################################################################################
# For fuzz-introspector
export PYFUZZPACKAGE=$PWD/
pip3 install .
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do
compile_python_fuzzer $fuzzer

View File

@ -15,11 +15,7 @@
#
################################################################################
cd pyyaml
# For fuzz-introspector
export PYFUZZPACKAGE=$PWD/lib/
python3 ./setup.py --without-libyaml install
pip3 install .
# Build fuzzers in $OUT.
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do