OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2013 The Chromium Authors. All rights reserved. | 2 # Copyright 2013 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 |
| 7 |
6 """Chromium auto-bisect tool | 8 """Chromium auto-bisect tool |
7 | 9 |
8 This script bisects a range of commits using binary search. It starts by getting | 10 This script bisects a range of commits using binary search. It starts by getting |
9 reference values for the specified "good" and "bad" commits. Then, for revisions | 11 reference values for the specified "good" and "bad" commits. Then, for revisions |
10 in between, it will get builds, run tests and classify intermediate revisions as | 12 in between, it will get builds, run tests and classify intermediate revisions as |
11 "good" or "bad" until an adjacent "good" and "bad" revision is found; this is | 13 "good" or "bad" until an adjacent "good" and "bad" revision is found; this is |
12 the culprit. | 14 the culprit. |
13 | 15 |
14 If the culprit is a roll of a depedency repository (e.g. v8), it will then | 16 If the culprit is a roll of a depedency repository (e.g. v8), it will then |
15 expand the revision range and continue the bisect until a culprit revision in | 17 expand the revision range and continue the bisect until a culprit revision in |
(...skipping 2878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2894 # bugs. If you change this, please update the perf dashboard as well. | 2896 # bugs. If you change this, please update the perf dashboard as well. |
2895 bisect_utils.OutputAnnotationStepStart('Results') | 2897 bisect_utils.OutputAnnotationStepStart('Results') |
2896 print 'Runtime Error: %s' % e | 2898 print 'Runtime Error: %s' % e |
2897 if opts.output_buildbot_annotations: | 2899 if opts.output_buildbot_annotations: |
2898 bisect_utils.OutputAnnotationStepClosed() | 2900 bisect_utils.OutputAnnotationStepClosed() |
2899 return 1 | 2901 return 1 |
2900 | 2902 |
2901 | 2903 |
2902 if __name__ == '__main__': | 2904 if __name__ == '__main__': |
2903 sys.exit(main()) | 2905 sys.exit(main()) |
OLD | NEW |