Layout tests broke due to unexpected simctl output
[WebKit-https.git] / Tools / Scripts / webkitpy / xcode / simulator.py
index 06dcbba1da9c4f2acdda2c485e3bf9a2e1b74e4d..6e3dce721a8e4d95568229492aeb1aa4ea736e69 100644 (file)
@@ -368,7 +368,9 @@ class Simulator(object):
 
             device_match = self.devices_re.match(line)
             if not device_match:
-                raise RuntimeError('Expected an iOS Simulator device line, got "{}"'.format(line))
+                if line != '== Device Pairs ==':
+                    raise RuntimeError('Expected == Device Pairs == header but got: "{}"'.format(line))
+                break
             if current_runtime:
                 device = Device(name=device_match.group('name').rstrip(),
                                 udid=device_match.group('udid'),