[fuzzing] Make test runners less verbose

This commit is contained in:
Behdad Esfahbod 2018-10-29 22:53:16 -07:00
parent 4ef671f25f
commit ad3cededdd
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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)