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

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

Issue 7740020: Refactor .gyp files: (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments 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 | « tools/gyp/v8.gyp ('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 # 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 args_for_children += ['--no-build', '--build-system=gyp'] 206 args_for_children += ['--no-build', '--build-system=gyp']
207 for arg in args: 207 for arg in args:
208 args_for_children += [arg] 208 args_for_children += [arg]
209 returncodes = 0 209 returncodes = 0
210 210
211 for mode in options.mode: 211 for mode in options.mode:
212 for arch in options.arch: 212 for arch in options.arch:
213 print ">>> running tests for %s.%s" % (arch, mode) 213 print ">>> running tests for %s.%s" % (arch, mode)
214 shell = workspace + '/' + options.outdir + '/' + arch + '.' + mode + "/d8" 214 shell = workspace + '/' + options.outdir + '/' + arch + '.' + mode + "/d8"
215 child = subprocess.Popen(' '.join(args_for_children + 215 child = subprocess.Popen(' '.join(args_for_children +
216 ['--arch=' + arch] +
216 ['--mode=' + mode] + 217 ['--mode=' + mode] +
217 ['--shell=' + shell]), 218 ['--shell=' + shell]),
218 shell=True, 219 shell=True,
219 cwd=workspace) 220 cwd=workspace)
220 returncodes += child.wait() 221 returncodes += child.wait()
221 222
222 return returncodes 223 return returncodes
223 224
224 225
225 if __name__ == '__main__': 226 if __name__ == '__main__':
226 sys.exit(Main()) 227 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/gyp/v8.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698