OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Retrieve passing and failing WebKit revision numbers from canaries. | 6 """Retrieve passing and failing WebKit revision numbers from canaries. |
7 | 7 |
8 From each canary, | 8 From each canary, |
9 - the last WebKit revision number for which all the tests have passed, | 9 - the last WebKit revision number for which all the tests have passed, |
10 - the last WebKit revision number for which the tests were run, and | 10 - the last WebKit revision number for which the tests were run, and |
(...skipping 15 matching lines...) Expand all Loading... |
26 "Webkit Vista", | 26 "Webkit Vista", |
27 "Webkit Win7", | 27 "Webkit Win7", |
28 "Webkit Win (dbg)(1)", | 28 "Webkit Win (dbg)(1)", |
29 "Webkit Win (dbg)(2)", | 29 "Webkit Win (dbg)(2)", |
30 "Webkit Mac10.5", | 30 "Webkit Mac10.5", |
31 "Webkit Mac10.6", | 31 "Webkit Mac10.6", |
32 "Webkit Mac10.5 (dbg)(1)", | 32 "Webkit Mac10.5 (dbg)(1)", |
33 "Webkit Mac10.5 (dbg)(2)", | 33 "Webkit Mac10.5 (dbg)(2)", |
34 "Webkit Mac10.6 (dbg)", | 34 "Webkit Mac10.6 (dbg)", |
35 "Webkit Linux", | 35 "Webkit Linux", |
36 "Webkit Linux 64", | 36 "Webkit Linux 32", |
37 "Webkit Linux (dbg)(1)", | 37 "Webkit Linux (dbg)(1)", |
38 "Webkit Linux (dbg)(2)", | 38 "Webkit Linux (dbg)(2)", |
39 ] | 39 ] |
40 _DEFAULT_MAX_BUILDS = 10 | 40 _DEFAULT_MAX_BUILDS = 10 |
41 _TEST_PREFIX = "&tests=" | 41 _TEST_PREFIX = "&tests=" |
42 _TEST_SUFFIX = '">' | 42 _TEST_SUFFIX = '">' |
43 _WEBKIT_TESTS = "webkit_tests" | 43 _WEBKIT_TESTS = "webkit_tests" |
44 | 44 |
45 | 45 |
46 def _OpenUrl(url): | 46 def _OpenUrl(url): |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 print '"%s"' % builder | 282 print '"%s"' % builder |
283 sys.stdout.flush() | 283 sys.stdout.flush() |
284 results.append(_RetrieveBuildResult( | 284 results.append(_RetrieveBuildResult( |
285 builder, options.max_builds, oldest_revision_to_check)) | 285 builder, options.max_builds, oldest_revision_to_check)) |
286 _PrintFailingRevisions(results, options.verbose) | 286 _PrintFailingRevisions(results, options.verbose) |
287 _PrintPassingRevisions(results, options.verbose) | 287 _PrintPassingRevisions(results, options.verbose) |
288 | 288 |
289 | 289 |
290 if __name__ == "__main__": | 290 if __name__ == "__main__": |
291 _Main() | 291 _Main() |
OLD | NEW |