Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(644)

Side by Side Diff: native_client_sdk/src/build_tools/test_sdk.py

Issue 1403303002: [NaCl SDK] Ship arm_elf_loader.nexe on all platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « native_client_sdk/src/build_tools/sdk_files.list ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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')
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/sdk_files.list ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698