Title: [240153] trunk/Tools
Revision
240153
Author
jbed...@apple.com
Date
2019-01-18 09:54:52 -0800 (Fri, 18 Jan 2019)

Log Message

webkitpy: Implement device type specific expected results (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=192162
<rdar://problem/46345449>

Unreviewed infrastructure fix.

* Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager.run): Don't boot a device if no tests are available to run on it.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (240152 => 240153)


--- trunk/Tools/ChangeLog	2019-01-18 17:19:26 UTC (rev 240152)
+++ trunk/Tools/ChangeLog	2019-01-18 17:54:52 UTC (rev 240153)
@@ -6,6 +6,17 @@
 
         Unreviewed infrastructure fix.
 
+        * Scripts/webkitpy/layout_tests/controllers/manager.py:
+        (Manager.run): Don't boot a device if no tests are available to run on it.
+
+2019-01-18  Jonathan Bedard  <jbed...@apple.com>
+
+        webkitpy: Implement device type specific expected results (Follow-up fix)
+        https://bugs.webkit.org/show_bug.cgi?id=192162
+        <rdar://problem/46345449>
+
+        Unreviewed infrastructure fix.
+
         * Scripts/webkitpy/api_tests/manager.py:
         (Manager._initialize_devices): Use DEVICE_TYPE when running API tests.
 

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py (240152 => 240153)


--- trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py	2019-01-18 17:19:26 UTC (rev 240152)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py	2019-01-18 17:54:52 UTC (rev 240153)
@@ -252,6 +252,8 @@
 
             _log.info('Running {}{}'.format(pluralize(len(tests_to_run_by_device[device_type]), 'test'), ' for {}'.format(str(device_type)) if device_type else ''))
             _log.info('')
+            if not tests_to_run_by_device[device_type]:
+                continue
             if not self._set_up_run(tests_to_run_by_device[device_type], device_type=device_type):
                 return test_run_results.RunDetails(exit_code=-1)
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to