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

Side by Side Diff: buildbot/buildbot_selector.py

Issue 7745047: Enable browser tests with glibc. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « SConstruct ('k') | buildbot/buildbot_standard.py » ('j') | 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/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client 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 import os 6 import os
7 import subprocess 7 import subprocess
8 import sys 8 import sys
9 9
10 python = sys.executable 10 python = sys.executable
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 def Main(): 236 def Main():
237 builder = os.environ.get('BUILDBOT_BUILDERNAME') 237 builder = os.environ.get('BUILDBOT_BUILDERNAME')
238 cmd = BOT_ASSIGNMENT.get(builder) 238 cmd = BOT_ASSIGNMENT.get(builder)
239 if not cmd: 239 if not cmd:
240 sys.stderr.write('ERROR - unset/invalid builder name\n') 240 sys.stderr.write('ERROR - unset/invalid builder name\n')
241 sys.exit(1) 241 sys.exit(1)
242 242
243 env = os.environ.copy() 243 env = os.environ.copy()
244 env['ARCHIVE_IRT'] = builder in IRT_ARCHIVE_BUILDERS and '1' or '0' 244 env['ARCHIVE_IRT'] = builder in IRT_ARCHIVE_BUILDERS and '1' or '0'
245 245
246 cmd_patch = python + ' ' + \
247 os.path.join('..', 'native_client', 'buildbot', 'patch.py') + ' ' + \
248 os.path.join('..', 'native_client', 'ppapi.patch')
249 print cmd_patch
250 subprocess.call(
251 cmd_patch,
252 env=env,
253 cwd=os.path.join('..','ppapi'),
254 shell=True)
246 print "%s runs: %s\n" % (builder, cmd) 255 print "%s runs: %s\n" % (builder, cmd)
247 retcode = subprocess.call(cmd, env=env, shell=True) 256 retcode = subprocess.call(cmd, env=env, shell=True)
248 sys.exit(retcode) 257 sys.exit(retcode)
249 258
250 259
251 if __name__ == '__main__': 260 if __name__ == '__main__':
252 Main() 261 Main()
OLDNEW
« no previous file with comments | « SConstruct ('k') | buildbot/buildbot_standard.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698