From b095ce59ebc5723a1b9c049eebb8f204455c9a72 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Mon, 19 Feb 2018 11:58:20 +0330 Subject: [PATCH] Simplify hb-fuzzer output printing and fix ArchLinux bot --- test/fuzzing/run-fuzzer-tests.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/fuzzing/run-fuzzer-tests.py b/test/fuzzing/run-fuzzer-tests.py index 79e47c9f4..9455a4b6b 100755 --- a/test/fuzzing/run-fuzzer-tests.py +++ b/test/fuzzing/run-fuzzer-tests.py @@ -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)