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 | 6 |
7 """Argument-less script to select what to run on the buildbots.""" | 7 """Argument-less script to select what to run on the buildbots.""" |
8 | 8 |
9 | 9 |
10 import filecmp | 10 import filecmp |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 elif sys.platform == 'darwin': | 225 elif sys.platform == 'darwin': |
226 retcode += GypTestFormat('ninja') | 226 retcode += GypTestFormat('ninja') |
227 retcode += GypTestFormat('xcode') | 227 retcode += GypTestFormat('xcode') |
228 retcode += GypTestFormat('make') | 228 retcode += GypTestFormat('make') |
229 elif sys.platform == 'win32': | 229 elif sys.platform == 'win32': |
230 retcode += GypTestFormat('ninja') | 230 retcode += GypTestFormat('ninja') |
231 if os.environ['BUILDBOT_BUILDERNAME'] == 'gyp-win64': | 231 if os.environ['BUILDBOT_BUILDERNAME'] == 'gyp-win64': |
232 retcode += GypTestFormat('msvs-ninja-2013', format='msvs-ninja', | 232 retcode += GypTestFormat('msvs-ninja-2013', format='msvs-ninja', |
233 msvs_version='2013', | 233 msvs_version='2013', |
234 tests=[ | 234 tests=[ |
235 'test\generator-output\gyptest-actions.py', | 235 r'test\generator-output\gyptest-actions.py', |
236 'test\generator-output\gyptest-relocate.py', | 236 r'test\generator-output\gyptest-relocate.py', |
237 'test\generator-output\gyptest-rules.py']) | 237 r'test\generator-output\gyptest-rules.py']) |
238 retcode += GypTestFormat('msvs-2013', format='msvs', msvs_version='2013') | 238 retcode += GypTestFormat('msvs-2013', format='msvs', msvs_version='2013') |
239 else: | 239 else: |
240 raise Exception('Unknown platform') | 240 raise Exception('Unknown platform') |
241 if retcode: | 241 if retcode: |
242 # TODO(bradnelson): once the annotator supports a postscript (section for | 242 # TODO(bradnelson): once the annotator supports a postscript (section for |
243 # after the build proper that could be used for cumulative failures), | 243 # after the build proper that could be used for cumulative failures), |
244 # use that instead of this. This isolates the final return value so | 244 # use that instead of this. This isolates the final return value so |
245 # that it isn't misattributed to the last stage. | 245 # that it isn't misattributed to the last stage. |
246 print '@@@BUILD_STEP failures@@@' | 246 print '@@@BUILD_STEP failures@@@' |
247 sys.exit(retcode) | 247 sys.exit(retcode) |
248 | 248 |
249 | 249 |
250 if __name__ == '__main__': | 250 if __name__ == '__main__': |
251 GypBuild() | 251 GypBuild() |
OLD | NEW |