未验证 提交 b095ce59 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

Simplify hb-fuzzer output printing and fix ArchLinux bot

上级 be51f763
......@@ -22,15 +22,11 @@ fails = 0
for line in open (os.path.join (srcdir, "..", "shaping", "data", "in-house", "tests", "fuzzed.tests")):
font = line.split (":")[0]
p = subprocess.Popen (
[hb_fuzzer, os.path.join (srcdir, "..", "shaping", font)],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
p = subprocess.Popen ([hb_fuzzer, os.path.join (srcdir, "..", "shaping", font)])
if p.wait () != 0:
fails = fails + 1
print ((p.stdout.read () + p.stderr.read ()).decode ("utf-8").strip ())
if fails:
print ("%i fuzzer related tests failed." % fails)
sys.exit (1)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册