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

Side by Side Diff: tools/run-tests.py

Issue 12017013: Merged r13428 into 3.15 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.15
Patch Set: Created 7 years, 11 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 | « src/version.cc ('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 2012 the V8 project authors. All rights reserved. 3 # Copyright 2012 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 def ProcessOptions(options): 148 def ProcessOptions(options):
149 global VARIANT_FLAGS 149 global VARIANT_FLAGS
150 150
151 # Architecture and mode related stuff. 151 # Architecture and mode related stuff.
152 if options.arch_and_mode: 152 if options.arch_and_mode:
153 tokens = options.arch_and_mode.split(".") 153 tokens = options.arch_and_mode.split(".")
154 options.arch = tokens[0] 154 options.arch = tokens[0]
155 options.mode = tokens[1] 155 options.mode = tokens[1]
156 options.mode = options.mode.split(",") 156 options.mode = options.mode.split(",")
157 for mode in options.mode: 157 for mode in options.mode:
158 if not mode in ["debug", "release"]: 158 if not mode.lower() in ["debug", "release"]:
159 print "Unknown mode %s" % mode 159 print "Unknown mode %s" % mode
160 return False 160 return False
161 if options.arch in ["auto", "native"]: 161 if options.arch in ["auto", "native"]:
162 options.arch = ARCH_GUESS 162 options.arch = ARCH_GUESS
163 options.arch = options.arch.split(",") 163 options.arch = options.arch.split(",")
164 for arch in options.arch: 164 for arch in options.arch:
165 if not arch in SUPPORTED_ARCHS: 165 if not arch in SUPPORTED_ARCHS:
166 print "Unknown architecture %s" % arch 166 print "Unknown architecture %s" % arch
167 return False 167 return False
168 168
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 except KeyboardInterrupt: 360 except KeyboardInterrupt:
361 return 1 361 return 1
362 362
363 if options.time: 363 if options.time:
364 verbose.PrintTestDurations(suites, overall_duration) 364 verbose.PrintTestDurations(suites, overall_duration)
365 return exit_code 365 return exit_code
366 366
367 367
368 if __name__ == "__main__": 368 if __name__ == "__main__":
369 sys.exit(Main()) 369 sys.exit(Main())
OLDNEW
« no previous file with comments | « src/version.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698