[fuzzing] Make test runners less verbose
This commit is contained in:
parent
4ef671f25f
commit
ad3cededdd
|
@ -76,7 +76,8 @@ for file in os.listdir (parent_path):
|
||||||
path = os.path.join(parent_path, file)
|
path = os.path.join(parent_path, file)
|
||||||
|
|
||||||
text, returncode = cmd ([hb_shape_fuzzer, path])
|
text, returncode = cmd ([hb_shape_fuzzer, path])
|
||||||
print (text)
|
if text.strip ():
|
||||||
|
print (text)
|
||||||
|
|
||||||
failed = False
|
failed = False
|
||||||
if returncode != 0 or 'error' in text:
|
if returncode != 0 or 'error' in text:
|
||||||
|
|
|
@ -22,7 +22,6 @@ fails = 0
|
||||||
|
|
||||||
def run_dir (parent_path):
|
def run_dir (parent_path):
|
||||||
global fails
|
global fails
|
||||||
print ("running subset fuzzer against fonts in %s" % parent_path)
|
|
||||||
for file in os.listdir (parent_path):
|
for file in os.listdir (parent_path):
|
||||||
path = os.path.join(parent_path, file)
|
path = os.path.join(parent_path, file)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue