iOS 12 Simulator Release WK2 frequently timing out while running layout tests
[WebKit-https.git] / Tools / Scripts / webkitpy / port / image_diff.py
index 500454822a57ceff226b7836c7691774a315f946..7713ddaf69900520018c94d16880ef02fe8f93db 100644 (file)
@@ -47,7 +47,7 @@ class ImageDiffer(object):
         self._process = None
 
     def diff_image(self, expected_contents, actual_contents, tolerance):
-        if tolerance != self._tolerance:
+        if tolerance != self._tolerance or (self._process and self._process.has_available_stdout()):
             self.stop()
         try:
             assert(expected_contents)