mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
[fuzzing] Fail if valgrind is requested but not found
This commit is contained in:
1 parent
07776b6096
commit
3ff66c0029
1 file changed
+3
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user