[Webkit-unassigned] [Bug 32954] have run-webkit-tests output the JSON files for tracking layout test flakiness
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 30 21:58:29 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=32954
--- Comment #10 from Adam Roben (:aroben) <aroben at apple.com> 2011-03-30 21:58:29 PST ---
I wanted to get a handle on how json_layout_results_generator.py works, so I:
1) Put a breakpoint in JSONLayoutTestResultsGenerator.__init__
2) Modified css1/basic/class_as_selector.html and css1/basic/comments.html to time out
3) Ran this command:
new-run-webkit-tests css1/basic --build-number 5 --builder-name MyBuilderName
Then I printed the arguments passed to __init__:
(Pdb) p port
<port.mac.MacPort object at 0x10ddb12d0>
(Pdb) p builder_name
'MyBuilderName'
(Pdb) p build_name
'DUMMY_BUILD_NAME'
(Pdb) p build_number
'5'
(Pdb) p results_file_base_path
u'/Users/aroben/dev/BuildProducts/Debug/layout-test-results'
(Pdb) p builder_base_url
'http://build.chromium.org/buildbot/layout_test_results/'
(Pdb) p test_timings
[<webkitpy.layout_tests.layout_package.test_results.TestResult object at 0x10df09e90>, <webkitpy.layout_tests.layout_package.test_results.TestResult object at 0x10df09fd0>, <webkitpy.layout_tests.layout_package.test_results.TestResult object at 0x10df09bd0>, <webkitpy.layout_tests.layout_package.test_results.TestResult object at 0x10df09ed0>, <webkitpy.layout_tests.layout_package.test_results.TestResult object at 0x10df0f110>, <webkitpy.layout_tests.layout_package.test_results.TestResult object at 0x10df0f050>, <webkitpy.layout_tests.layout_package.test_results.TestResult object at 0x10df0f090>]
(Pdb) p test_timings[0]
<webkitpy.layout_tests.layout_package.test_results.TestResult object at 0x10df09e90>
(Pdb) p expectations
<webkitpy.layout_tests.layout_package.test_expectations.TestExpectations instance at 0x10ddc2b48>
(Pdb) p result_summary
<webkitpy.layout_tests.layout_package.result_summary.ResultSummary object at 0x10ddc6450>
(Pdb) p all_tests
['/Users/aroben/dev/WebKit/OpenSource/LayoutTests/css1/basic/class_as_selector.html', '/Users/aroben/dev/WebKit/OpenSource/LayoutTests/css1/basic/comments.html', '/Users/aroben/dev/WebKit/OpenSource/LayoutTests/css1/basic/containment.html', '/Users/aroben/dev/WebKit/OpenSource/LayoutTests/css1/basic/contextual_selectors.html', '/Users/aroben/dev/WebKit/OpenSource/LayoutTests/css1/basic/grouping.html', '/Users/aroben/dev/WebKit/OpenSource/LayoutTests/css1/basic/id_as_selector.html', '/Users/aroben/dev/WebKit/OpenSource/LayoutTests/css1/basic/inheritance.html']
(Pdb) p test_results_server
''
(Pdb) p test_type
'layout-tests'
(Pdb) p master_name
None
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list