Changeset 55268 in webkit
- Timestamp:
- Feb 25, 2010 5:32:15 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r55267 r55268 1 2010-02-25 Dirk Pranke <dpranke@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Add a 'passing' port implementation to new-run-webkit-tests that 6 acts as a wrapper around an existing implementation but stubs out 7 the actual test invocations (instead, the expected results are echoed 8 back to the harness). This is useful for coverage and perf testing 9 of the harness (especially perf testing as it essentially provides 10 a lower bound on how fast the harness can run). 11 12 Also added a --nostart-helper flag to new-run-webkit-tests so that 13 you can skip starting the layout_test_helper and actually run the 14 harness even if you don't have a build of that port. 15 16 Also fix a bug in the 'test' port implementation to actually 17 create the results directory under /tmp instead of /. 18 19 https://bugs.webkit.org/show_bug.cgi?id=35370 20 21 * Scripts/webkitpy/layout_tests/port/factory.py: Modified. 22 * Scripts/webkitpy/layout_tests/port/passing.py: Added. 23 * Scripts/webkitpy/layout_tests/port/test.py: Added. 24 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Modified. 25 1 26 2010-02-25 Eric Seidel <eric@webkit.org> 2 27 -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/factory.py
r55210 r55268 50 50 import test 51 51 return test.TestPort(port_name, options) 52 elif port_to_use.startswith('passing'): 53 import passing 54 return passing.PassingPort(port_name, options) 52 55 elif port_to_use.startswith('mac'): 53 56 import mac -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/test.py
r55208 r55268 77 77 78 78 def results_directory(self): 79 return '/tmp ' + self._options.results_directory79 return '/tmp/' + self._options.results_directory 80 80 81 81 def setup_test_run(self): -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r55264 r55268 1469 1469 options.target == 'Debug') 1470 1470 1471 port_obj.start_helper() 1471 if not options.nostart_helper: 1472 port_obj.start_helper() 1472 1473 1473 1474 # Check that the system dependencies (themes, fonts, ...) are correct. … … 1491 1492 has_new_failures = test_runner.run(result_summary) 1492 1493 1493 port_obj.stop_helper() 1494 if not options.nostart_helper: 1495 port_obj.stop_helper() 1494 1496 1495 1497 logging.debug("Exit status: %d" % has_new_failures) … … 1620 1622 action="store_true", default=False, 1621 1623 help="run all tests in parallel") 1624 option_parser.add_option("", "--nostart-helper", 1625 action="store_true", default=False, 1626 help="don't run layout_test_helper") 1622 1627 return option_parser.parse_args(args) 1623 1628
Note: See TracChangeset
for help on using the changeset viewer.