| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 Google Inc. All rights reserved. | 2 # Copyright (c) 2012 Google Inc. 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 """Argument-less script to select what to run on the buildbots.""" | 6 """Argument-less script to select what to run on the buildbots.""" |
| 8 | 7 |
| 9 | |
| 10 import filecmp | 8 import filecmp |
| 11 import os | 9 import os |
| 12 import shutil | 10 import shutil |
| 13 import subprocess | 11 import subprocess |
| 14 import sys | 12 import sys |
| 15 | 13 |
| 16 | 14 |
| 17 if sys.platform in ['win32', 'cygwin']: | 15 if sys.platform in ['win32', 'cygwin']: |
| 18 EXE_SUFFIX = '.exe' | 16 EXE_SUFFIX = '.exe' |
| 19 else: | 17 else: |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 # TODO(bradnelson): once the annotator supports a postscript (section for | 240 # TODO(bradnelson): once the annotator supports a postscript (section for |
| 243 # after the build proper that could be used for cumulative failures), | 241 # after the build proper that could be used for cumulative failures), |
| 244 # use that instead of this. This isolates the final return value so | 242 # use that instead of this. This isolates the final return value so |
| 245 # that it isn't misattributed to the last stage. | 243 # that it isn't misattributed to the last stage. |
| 246 print '@@@BUILD_STEP failures@@@' | 244 print '@@@BUILD_STEP failures@@@' |
| 247 sys.exit(retcode) | 245 sys.exit(retcode) |
| 248 | 246 |
| 249 | 247 |
| 250 if __name__ == '__main__': | 248 if __name__ == '__main__': |
| 251 GypBuild() | 249 GypBuild() |
| OLD | NEW |