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

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

Issue 12018016: Merged r13428 into 3.14 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.14
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 def ProcessOptions(options): 143 def ProcessOptions(options):
144 global VARIANT_FLAGS 144 global VARIANT_FLAGS
145 145
146 # Architecture and mode related stuff. 146 # Architecture and mode related stuff.
147 if options.arch_and_mode: 147 if options.arch_and_mode:
148 tokens = options.arch_and_mode.split(".") 148 tokens = options.arch_and_mode.split(".")
149 options.arch = tokens[0] 149 options.arch = tokens[0]
150 options.mode = tokens[1] 150 options.mode = tokens[1]
151 options.mode = options.mode.split(",") 151 options.mode = options.mode.split(",")
152 for mode in options.mode: 152 for mode in options.mode:
153 if not mode in ["debug", "release"]: 153 if not mode.lower() in ["debug", "release"]:
154 print "Unknown mode %s" % mode 154 print "Unknown mode %s" % mode
155 return False 155 return False
156 if options.arch in ["auto", "native"]: 156 if options.arch in ["auto", "native"]:
157 options.arch = ARCH_GUESS 157 options.arch = ARCH_GUESS
158 options.arch = options.arch.split(",") 158 options.arch = options.arch.split(",")
159 for arch in options.arch: 159 for arch in options.arch:
160 if not arch in SUPPORTED_ARCHS: 160 if not arch in SUPPORTED_ARCHS:
161 print "Unknown architecture %s" % arch 161 print "Unknown architecture %s" % arch
162 return False 162 return False
163 163
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 except KeyboardInterrupt: 355 except KeyboardInterrupt:
356 return 1 356 return 1
357 357
358 if options.time: 358 if options.time:
359 verbose.PrintTestDurations(suites, overall_duration) 359 verbose.PrintTestDurations(suites, overall_duration)
360 return exit_code 360 return exit_code
361 361
362 362
363 if __name__ == "__main__": 363 if __name__ == "__main__":
364 sys.exit(Main()) 364 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