OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 the V8 project authors. All rights reserved. | 2 # Copyright 2014 the V8 project 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 """ | 6 """ |
7 Script to check for new clusterfuzz issues since the last rolled v8 revision. | 7 Script to check for new clusterfuzz issues since the last rolled v8 revision. |
8 | 8 |
9 Returns a json list with test case IDs if any. | 9 Returns a json list with test case IDs if any. |
10 | 10 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 165 |
166 if options.results_file: | 166 if options.results_file: |
167 with open(options.results_file, "w") as f: | 167 with open(options.results_file, "w") as f: |
168 f.write(json.dumps(results)) | 168 f.write(json.dumps(results)) |
169 else: | 169 else: |
170 print results | 170 print results |
171 | 171 |
172 | 172 |
173 if __name__ == "__main__": | 173 if __name__ == "__main__": |
174 sys.exit(Main()) | 174 sys.exit(Main()) |
OLD | NEW |