Changeset 123776 in webkit
- Timestamp:
- Jul 26, 2012, 11:26:41 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r123773 r123776 1 2012-07-26 Balazs Kelemen <kbalazs@webkit.org> 2 3 [nrwt] get rid of --skip-pixel-test-if-no-baseline 4 https://bugs.webkit.org/show_bug.cgi?id=92377 5 6 Reviewed by Adam Barth. 7 8 Remove the option and all code paths that handled it. 9 10 * Scripts/webkitpy/layout_tests/port/base.py: 11 (Port.should_run_as_pixel_test): 12 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 13 (_set_up_derived_options): 14 (parse_args): 15 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py: 16 (MainTest.test_repeat_each): 17 1 18 2012-07-26 Olivier Blin <olivier.blin@softathome.com> 2 19 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py
r123729 r123776 1272 1272 # Cannot do more filtering without this. 1273 1273 return True 1274 if self._options.skip_pixel_test_if_no_baseline and not self.expected_image(test_input.test_name):1275 return False1276 1274 if self._options.pixel_test_directories: 1277 1275 return any(test_input.test_name.startswith(directory) for directory in self._options.pixel_test_directories) -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r123729 r123776 175 175 warnings.append("--force/--skipped=%s overrides --no-http." % (options.skipped)) 176 176 options.http = True 177 178 if options.skip_pixel_test_if_no_baseline and not options.pixel_tests:179 warnings.append("--skip-pixel-test-if-no-baseline is only supported with -p (--pixel-tests)")180 177 181 178 if options.ignore_metrics and (options.new_baseline or options.reset_results): … … 326 323 dest="new_test_results", default=True, 327 324 help="Don't create new baselines when no expected results exist"), 328 optparse.make_option("--skip-pixel-test-if-no-baseline", action="store_true",329 dest="skip_pixel_test_if_no_baseline", help="Do not generate and check pixel result in the case when "330 "no image baseline is available for the test."),331 325 332 326 #FIXME: we should support a comma separated list with --pixel-test-directory as well. -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py
r123729 r123776 405 405 self.assertEquals(tests_run, ['passes/image.html', 'passes/image.html', 'passes/text.html', 'passes/text.html']) 406 406 407 def test_skip_pixel_test_if_no_baseline_option(self):408 tests_to_run = ['passes/image.html', 'passes/text.html']409 tests_run = get_tests_run(['--skip-pixel-test-if-no-baseline'] + tests_to_run, tests_included=True, flatten_batches=True)410 self.assertEquals(tests_run, ['passes/image.html', 'passes/text.html'])411 412 407 def test_ignore_flag(self): 413 408 # Note that passes/image.html is expected to be run since we specified it directly.
Note:
See TracChangeset
for help on using the changeset viewer.