Title: [203811] trunk/Tools
Revision
203811
Author
[email protected]
Date
2016-07-27 22:47:05 -0700 (Wed, 27 Jul 2016)

Log Message

LayoutTestRelay should wait for WebKitTestRunnerApp installation to complete
https://bugs.webkit.org/show_bug.cgi?id=160262

Reviewed by Daniel Bates.

* LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
(-[LTRelayController installApp]):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (203810 => 203811)


--- trunk/Tools/ChangeLog	2016-07-28 04:45:46 UTC (rev 203810)
+++ trunk/Tools/ChangeLog	2016-07-28 05:47:05 UTC (rev 203811)
@@ -1,3 +1,13 @@
+2016-07-27  Alexey Proskuryakov  <[email protected]>
+
+        LayoutTestRelay should wait for WebKitTestRunnerApp installation to complete
+        https://bugs.webkit.org/show_bug.cgi?id=160262
+
+        Reviewed by Daniel Bates.
+
+        * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
+        (-[LTRelayController installApp]):
+
 2016-07-27  Ryan Haddad  <[email protected]>
 
         Disable WebCoreNSURLSessionTest API tests on ios-simulator

Modified: trunk/Tools/LayoutTestRelay/LayoutTestRelay/LTRelayController.m (203810 => 203811)


--- trunk/Tools/LayoutTestRelay/LayoutTestRelay/LTRelayController.m	2016-07-28 04:45:46 UTC (rev 203810)
+++ trunk/Tools/LayoutTestRelay/LayoutTestRelay/LTRelayController.m	2016-07-28 05:47:05 UTC (rev 203811)
@@ -145,11 +145,12 @@
 {
     NSDictionary *installOptions = @{
         (NSString *)kCFBundleIdentifierKey: self.appBundleIdentifier,
+        @"LSBlockUntilComplete": @YES,
     };
 
     NSError *error = nil;
-    [self.device installApplication:[NSURL fileURLWithPath:self.appPath] withOptions:installOptions error:&error];
-    if (error) {
+    BOOL installed = [self.device installApplication:[NSURL fileURLWithPath:self.appPath] withOptions:installOptions error:&error];
+    if (!installed) {
         NSLog(@"Couldn't install %@: %@", self.appPath, error.description);
         exit(EXIT_FAILURE);
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to