Changeset 92803 in webkit
- Timestamp:
- Aug 10, 2011, 5:00:39 PM (14 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r92800 r92803 1 2011-08-10 Eric Seidel <eric@webkit.org> 2 3 new-run-webkit-test's WinPort has no fallback logic 4 https://bugs.webkit.org/show_bug.cgi?id=64486 5 6 Unreviewed. 7 8 Turns out that we've long had a subtle bug whereby if you didn't 9 already have DumpRenderTree built, we might end up running unsupported tests 10 because the DumpRenderTree --print-supported-features check would silently fail. 11 12 When I moved the call from using popen to using Executive.run_command, this silent 13 failure became noisy. (Breaking some bots.) 14 15 This re-orders our steps so that we always build DRT before collecting expectations, 16 as well as adds a warning message when DumpRenderTree can't be found. 17 18 * Scripts/webkitpy/layout_tests/port/webkit.py: 19 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 20 1 21 2011-08-10 Eric Seidel <eric@webkit.org> 2 22 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/webkit.py
r92800 r92803 230 230 this DRT switch, it has to override this method to return None""" 231 231 supported_features_command = [self._path_to_driver(), '--print-supported-features'] 232 output = self._executive.run_command(supported_features_command, error_handler=Executive.ignore_error) 232 try: 233 output = self._executive.run_command(supported_features_command, error_handler=Executive.ignore_error) 234 except OSError, e: 235 _log.warn("Exception runnig driver: %s, %s. Driver must be built before calling WebKitPort.test_expectations()." % (supported_features_command, e)) 236 return [] 237 233 238 # Note: win/DumpRenderTree.cpp does not print a leading space before the features_string. 234 239 match_object = re.match("SupportedFeatures:\s*(?P<features_string>.*)\s*", output) -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r91432 r92803 95 95 return manager.lint() 96 96 97 printer.print_update("Parsing expectations ...")98 manager.parse_expectations()99 100 97 printer.print_update("Checking build ...") 101 98 if not port.check_build(manager.needs_servers()): 102 99 _log.error("Build check failed") 103 100 return -1 101 102 printer.print_update("Parsing expectations ...") 103 manager.parse_expectations() 104 104 105 105 result_summary = manager.set_up_run()
Note:
See TracChangeset
for help on using the changeset viewer.