| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 """Script for a testing an existing SDK. | 6 """Script for a testing an existing SDK. |
| 7 | 7 |
| 8 This script is normally run immediately after build_sdk.py. | 8 This script is normally run immediately after build_sdk.py. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 if sanitizer: | 121 if sanitizer: |
| 122 configs = ('Debug',) | 122 configs = ('Debug',) |
| 123 for config in configs: | 123 for config in configs: |
| 124 RunTest(location, 'linux', config) | 124 RunTest(location, 'linux', config) |
| 125 | 125 |
| 126 if sanitizer: | 126 if sanitizer: |
| 127 continue | 127 continue |
| 128 | 128 |
| 129 for toolchain in ('clang-newlib', 'glibc', 'pnacl'): | 129 for toolchain in ('clang-newlib', 'glibc', 'pnacl'): |
| 130 for arch in archs: | 130 for arch in archs: |
| 131 # TODO(sbc): Remove this once we get elf_loader.nexe added to the SDK | |
| 132 if toolchain == 'glibc' and arch == 'arm': | |
| 133 continue | |
| 134 for config in configs: | 131 for config in configs: |
| 135 RunTest(location, toolchain, config, arch) | 132 RunTest(location, toolchain, config, arch) |
| 136 | 133 |
| 137 | 134 |
| 138 def StepRunBrowserTests(toolchains, experimental): | 135 def StepRunBrowserTests(toolchains, experimental): |
| 139 buildbot_common.BuildStep('Run Tests') | 136 buildbot_common.BuildStep('Run Tests') |
| 140 | 137 |
| 141 args = [ | 138 args = [ |
| 142 sys.executable, | 139 sys.executable, |
| 143 os.path.join(SCRIPT_DIR, 'test_projects.py'), | 140 os.path.join(SCRIPT_DIR, 'test_projects.py'), |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 phase_func(*phase_args) | 223 phase_func(*phase_args) |
| 227 | 224 |
| 228 return 0 | 225 return 0 |
| 229 | 226 |
| 230 | 227 |
| 231 if __name__ == '__main__': | 228 if __name__ == '__main__': |
| 232 try: | 229 try: |
| 233 sys.exit(main(sys.argv[1:])) | 230 sys.exit(main(sys.argv[1:])) |
| 234 except KeyboardInterrupt: | 231 except KeyboardInterrupt: |
| 235 buildbot_common.ErrorExit('test_sdk: interrupted') | 232 buildbot_common.ErrorExit('test_sdk: interrupted') |
| OLD | NEW |