Changeset 144253 in webkit
- Timestamp:
- Feb 27, 2013 5:33:44 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r144252 r144253 1 2013-02-27 Eric Seidel <eric@webkit.org> 2 3 Add --additional-drt-flag option to run-perf-tests to make it easy to test runtime options 4 https://bugs.webkit.org/show_bug.cgi?id=111021 5 6 Reviewed by Dirk Pranke. 7 8 The underlying code (which is shared with run-webkit-tests) 9 already knew how to support this option, it just wasn't exposed 10 via the run-perf-tests front-end. This patch fixes that. 11 12 * Scripts/webkitpy/performance_tests/perftestsrunner.py: 13 (PerfTestsRunner._parse_args): 14 1 15 2013-02-27 Ryosuke Niwa <rniwa@webkit.org> 2 16 -
trunk/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py
r144162 r144253 125 125 optparse.make_option("--profiler", action="store", 126 126 help="Output per-test profile information, using the specified profiler."), 127 optparse.make_option("--additional-drt-flag", action="append", 128 default=[], help="Additional command line flag to pass to DumpRenderTree " 129 "Specify multiple times to add multiple flags."), 127 130 ] 128 131 return optparse.OptionParser(option_list=(perf_option_list)).parse_args(args) -
trunk/Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py
r143833 r144253 136 136 '--slave-config-json-path=a/source.json', 137 137 '--test-results-server=somehost', 138 '--additional-drt-flag=--enable-threaded-parser', 139 '--additional-drt-flag=--awesomesauce', 138 140 '--debug']) 139 141 self.assertTrue(options.build) … … 149 151 self.assertEqual(options.slave_config_json_path, 'a/source.json') 150 152 self.assertEqual(options.test_results_server, 'somehost') 153 self.assertEqual(options.additional_drt_flag, ['--enable-threaded-parser', '--awesomesauce']) 151 154 152 155 def test_upload_json(self):
Note: See TracChangeset
for help on using the changeset viewer.