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

Side by Side Diff: tools/test-wrapper-gypbuild.py

Issue 8919002: Enable mips in the test wrapper for gyp. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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 | « no previous file | 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 # 2 #
3 # Copyright 2011 the V8 project authors. All rights reserved. 3 # Copyright 2011 the V8 project authors. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 tokens = options.arch_and_mode.split(".") 139 tokens = options.arch_and_mode.split(".")
140 options.arch = tokens[0] 140 options.arch = tokens[0]
141 options.mode = tokens[1] 141 options.mode = tokens[1]
142 options.mode = options.mode.split(',') 142 options.mode = options.mode.split(',')
143 options.arch = options.arch.split(',') 143 options.arch = options.arch.split(',')
144 for mode in options.mode: 144 for mode in options.mode:
145 if not mode in ['debug', 'release']: 145 if not mode in ['debug', 'release']:
146 print "Unknown mode %s" % mode 146 print "Unknown mode %s" % mode
147 return False 147 return False
148 for arch in options.arch: 148 for arch in options.arch:
149 if not arch in ['ia32', 'x64', 'arm']: 149 if not arch in ['ia32', 'x64', 'arm', 'mips']:
150 print "Unknown architecture %s" % arch 150 print "Unknown architecture %s" % arch
151 return False 151 return False
152 152
153 return True 153 return True
154 154
155 155
156 def PassOnOptions(options): 156 def PassOnOptions(options):
157 result = [] 157 result = []
158 if options.verbose: 158 if options.verbose:
159 result += ['--verbose'] 159 result += ['--verbose']
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 shell=True, 246 shell=True,
247 cwd=workspace, 247 cwd=workspace,
248 env=env) 248 env=env)
249 returncodes = child.wait() 249 returncodes = child.wait()
250 250
251 return returncodes 251 return returncodes
252 252
253 253
254 if __name__ == '__main__': 254 if __name__ == '__main__':
255 sys.exit(Main()) 255 sys.exit(Main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698