[fuzzing] Fail if valgrind is requested but not found
This commit is contained in:
parent
07776b6096
commit
3ff66c0029
|
@ -70,6 +70,9 @@ fails = 0
|
|||
valgrind = None
|
||||
if os.environ.get('RUN_VALGRIND', ''):
|
||||
valgrind = which ('valgrind')
|
||||
if valgrind is None:
|
||||
print ("""Valgrind requested but not found.""")
|
||||
sys.exit (1)
|
||||
|
||||
parent_path = os.path.join (srcdir, "fonts")
|
||||
for file in os.listdir (parent_path):
|
||||
|
|
Loading…
Reference in New Issue