Changeset 259446 in webkit
- Timestamp:
- Apr 3, 2020, 12:08:42 AM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/layout_tests/controllers/single_test_runner.py (modified) (1 diff)
-
Scripts/webkitpy/layout_tests/run_webkit_tests.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r259442 r259446 1 2020-04-03 Antti Koivisto <antti@apple.com> 2 3 [Windows] Ignore render tree dump based results on Windows 4 https://bugs.webkit.org/show_bug.cgi?id=209897 5 6 Reviewed by Darin Adler. 7 8 Render tree dumps are port specific and so difficult to maintain. They are mostly very old and 9 have been superseded by more modern ref and text dump tests. They rarely reveal any port specific bugs. 10 11 This patch adds --ignore-render-tree-dump-results option to run-webkit-tests and enables it by 12 default on Apple Windows port. 13 14 With the option set the render tree dump tests are still run (so crashes are detected) but their 15 output is treated as if it always passed. Missing results are not written to disk. 16 17 * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py: 18 (SingleTestRunner._compare_text): 19 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 20 (parse_args): 21 (_set_up_derived_options): 22 1 23 2020-04-02 James Savage <james.savage@apple.com> 2 24 -
trunk/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py
r254340 r259446 236 236 def _compare_text(self, expected_text, actual_text): 237 237 failures = [] 238 if self._options.ignore_render_tree_dump_results and self._render_tree_dump_pattern.match(actual_text): 239 return failures 238 240 if (expected_text and actual_text and 239 241 # Assuming expected_text is already normalized. -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r258350 r259446 150 150 optparse.make_option("--no-ref-tests", action="store_true", 151 151 dest="no_ref_tests", help="Skip all ref tests"), 152 optparse.make_option("--ignore-render-tree-dump-results", action="store_true", 153 dest="ignore_render_tree_dump_results", 154 help="Don't compare or save results for render tree dump tests (they still run and crashes are reported)"), 152 155 optparse.make_option("--tolerance", 153 156 help="Ignore image differences less than this percentage (some " … … 470 473 options.webkit_test_runner = True 471 474 475 # Don't maintain render tree dump results for Apple Windows port. 476 if port.port_name == "win": 477 options.ignore_render_tree_dump_results = True 478 472 479 if options.leaks: 473 480 options.additional_env_var.append("JSC_usePoisoning=0")
Note:
See TracChangeset
for help on using the changeset viewer.