Changeset 85119 in webkit
- Timestamp:
- Apr 27, 2011 4:17:43 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r85115 r85119 1 2011-04-26 Sam Weinig <sam@webkit.org> 2 3 Reviewed by David Levin. 4 5 Add a few more missing options to new-run-webkit-tests 6 https://bugs.webkit.org/show_bug.cgi?id=59567 7 8 Add support for: 9 --threaded 10 --gc-between-tests 11 --complex-text 12 13 * Scripts/webkitpy/layout_tests/port/webkit.py: 14 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 15 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 16 1 17 2011-04-27 Mark Rowe <mrowe@apple.com> 2 18 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/webkit.py
r84207 r85119 2 2 # Copyright (C) 2010 Google Inc. All rights reserved. 3 3 # Copyright (C) 2010 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>, University of Szeged 4 # Copyright (C) 2011 Apple Inc. All rights reserved. 4 5 # 5 6 # Redistribution and use in source and binary forms, with or without … … 376 377 if self._port.get_option('pixel_tests'): 377 378 cmd.append('--pixel-tests') 379 if self._port.get_option('gc_between_tests'): 380 cmd.append('--gc-between-tests') 381 if self._port.get_option('complex_text'): 382 cmd.append('--complex-text') 383 if self._port.get_option('threaded'): 384 cmd.append('--threaded') 385 378 386 cmd.extend(self._port.get_option('additional_drt_flag', [])) 379 387 cmd.append('-') -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r84594 r85119 2 2 # Copyright (C) 2010 Google Inc. All rights reserved. 3 3 # Copyright (C) 2010 Gabor Rapcsanyi (rgabor@inf.u-szeged.hu), University of Szeged 4 # Copyright (C) 2011 Apple Inc. All rights reserved. 4 5 # 5 6 # Redistribution and use in source and binary forms, with or without … … 253 254 default=False, 254 255 help="Run graphics tests on real GPU hardware vs software"), 256 ] 257 258 webkit_options = [ 259 optparse.make_option("--gc-between-tests", action="store_true", default=False, 260 help="Force garbage collection between each test"), 261 optparse.make_option("--complex-text", action="store_true", default=False, 262 help="Use the complex text code path for all text (Mac OS X and Windows only)"), 263 optparse.make_option("--threaded", action="store_true", default=False, 264 help="Run a concurrent JavaScript thead with each test") 255 265 ] 256 266 … … 428 438 429 439 option_list = (configuration_options + print_options + 430 chromium_options + results_options + test_options + 431 misc_options + results_json_options + 432 old_run_webkit_tests_compat) 440 chromium_options + webkit_options + results_options + test_options + 441 misc_options + results_json_options + old_run_webkit_tests_compat) 433 442 option_parser = optparse.OptionParser(option_list=option_list) 434 443 -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py
r84544 r85119 2 2 # Copyright (C) 2010 Google Inc. All rights reserved. 3 3 # Copyright (C) 2010 Gabor Rapcsanyi (rgabor@inf.u-szeged.hu), University of Szeged 4 # Copyright (C) 2011 Apple Inc. All rights reserved. 4 5 # 5 6 # Redistribution and use in source and binary forms, with or without … … 296 297 self.assertTrue(passing_run(['--randomize-order'])) 297 298 299 def test_gc_between_tests(self): 300 self.assertTrue(passing_run(['--gc-between-tests'])) 301 302 def test_complex_text(self): 303 self.assertTrue(passing_run(['--complex-text'])) 304 305 def test_threaded(self): 306 self.assertTrue(passing_run(['--threaded'])) 307 298 308 def test_run_chunk(self): 299 309 # Test that we actually select the right chunk
Note: See TracChangeset
for help on using the changeset viewer.