[subset] Add more verbose output for subset fuzzer test.
This commit is contained in:
parent
0ce0f87812
commit
6f9a584371
@ -28,5 +28,5 @@ for line in open (os.path.join (srcdir, "..", "shaping", "data", "in-house", "te
|
||||
fails = fails + 1
|
||||
|
||||
if fails:
|
||||
print ("%i fuzzer related tests failed." % fails)
|
||||
print ("%i shape fuzzer related tests failed." % fails)
|
||||
sys.exit (1)
|
||||
|
@ -20,12 +20,16 @@ print ('hb_subset_fuzzer:', hb_subset_fuzzer)
|
||||
fails = 0
|
||||
|
||||
parent_path = os.path.join (srcdir, "..", "subset", "data", "fonts")
|
||||
print ("running subset fuzzer against fonts in %s" % parent_path)
|
||||
for file in os.listdir (parent_path):
|
||||
p = subprocess.Popen ([hb_subset_fuzzer, os.path.join(parent_path, file)])
|
||||
path = os.path.join(parent_path, file)
|
||||
print ("running subset fuzzer against %s" % path)
|
||||
p = subprocess.Popen ([hb_subset_fuzzer, path])
|
||||
|
||||
if p.wait () != 0:
|
||||
print ("failed for %s" % path)
|
||||
fails = fails + 1
|
||||
|
||||
if fails:
|
||||
print ("%i fuzzer related tests failed." % fails)
|
||||
print ("%i subset fuzzer related tests failed." % fails)
|
||||
sys.exit (1)
|
||||
|
Loading…
Reference in New Issue
Block a user