OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 | 2 |
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # for details. All rights reserved. Use of this source code is governed by a |
5 # found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
6 | 6 |
7 """ | 7 """ |
8 Dart2js buildbot steps | 8 Dart2js buildbot steps |
9 | 9 |
10 Runs tests for the dart2js compiler. | 10 Runs tests for the dart2js compiler. |
11 """ | 11 """ |
12 | 12 |
13 import platform | 13 import platform |
14 import os | 14 import os |
15 import re | 15 import re |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 TestCompiler(build_info.runtime, build_info.mode, build_info.system, | 289 TestCompiler(build_info.runtime, build_info.mode, build_info.system, |
290 test_flags + ['--checked'], build_info.is_buildbot, | 290 test_flags + ['--checked'], build_info.is_buildbot, |
291 build_info.test_set) | 291 build_info.test_set) |
292 | 292 |
293 if build_info.runtime != 'd8': | 293 if build_info.runtime != 'd8': |
294 CleanUpTemporaryFiles(build_info.system, build_info.runtime) | 294 CleanUpTemporaryFiles(build_info.system, build_info.runtime) |
295 | 295 |
296 | 296 |
297 if __name__ == '__main__': | 297 if __name__ == '__main__': |
298 bot.RunBot(GetBuildInfo, RunCompilerTests) | 298 bot.RunBot(GetBuildInfo, RunCompilerTests) |
OLD | NEW |