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

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

Issue 8056004: Fix passing of --special-command flag in test wrapper. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 if options.report: 162 if options.report:
163 result += ['--report'] 163 result += ['--report']
164 if options.suite != []: 164 if options.suite != []:
165 for suite in options.suite: 165 for suite in options.suite:
166 result += ['--suite=../../test/' + suite] 166 result += ['--suite=../../test/' + suite]
167 if options.timeout != 60: 167 if options.timeout != 60:
168 result += ['--timeout=%s' % options.timeout] 168 result += ['--timeout=%s' % options.timeout]
169 if options.snapshot: 169 if options.snapshot:
170 result += ['--snapshot'] 170 result += ['--snapshot']
171 if options.special_command: 171 if options.special_command:
172 result += ['--special-command=' + options.special_command] 172 result += ['--special-command="%s"' % options.special_command]
173 if options.valgrind: 173 if options.valgrind:
174 result += ['--valgrind'] 174 result += ['--valgrind']
175 if options.cat: 175 if options.cat:
176 result += ['--cat'] 176 result += ['--cat']
177 if options.warn_unused: 177 if options.warn_unused:
178 result += ['--warn-unused'] 178 result += ['--warn-unused']
179 if options.j != 1: 179 if options.j != 1:
180 result += ['-j%s' % options.j] 180 result += ['-j%s' % options.j]
181 if options.time: 181 if options.time:
182 result += ['--time'] 182 result += ['--time']
(...skipping 63 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