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

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

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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
« test/cctest/test-parsing.cc ('K') | « 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 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 ARCH_GUESS = utils.DefaultArch() 52 ARCH_GUESS = utils.DefaultArch()
53 DEFAULT_TESTS = ["mjsunit", "fuzz-natives", "cctest", "message", "preparser"] 53 DEFAULT_TESTS = ["mjsunit", "fuzz-natives", "cctest", "message", "preparser"]
54 TIMEOUT_DEFAULT = 60 54 TIMEOUT_DEFAULT = 60
55 TIMEOUT_SCALEFACTOR = {"debug" : 4, 55 TIMEOUT_SCALEFACTOR = {"debug" : 4,
56 "release" : 1 } 56 "release" : 1 }
57 57
58 # Use this to run several variants of the tests. 58 # Use this to run several variants of the tests.
59 VARIANT_FLAGS = { 59 VARIANT_FLAGS = {
60 "default": [], 60 "default": [],
61 "stress": ["--stress-opt", "--always-opt"], 61 "stress": ["--stress-opt", "--always-opt"],
62 "turbofan": ["--turbo-filter=*", "--always-opt"],
62 "nocrankshaft": ["--nocrankshaft"]} 63 "nocrankshaft": ["--nocrankshaft"]}
63 64
64 VARIANTS = ["default", "stress", "nocrankshaft"] 65 VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"]
Michael Starzinger 2014/07/30 13:03:04 As discussed, let's drop the new variant from the
65 66
66 MODE_FLAGS = { 67 MODE_FLAGS = {
67 "debug" : ["--nohard-abort", "--nodead-code-elimination", 68 "debug" : ["--nohard-abort", "--nodead-code-elimination",
68 "--nofold-constants", "--enable-slow-asserts", 69 "--nofold-constants", "--enable-slow-asserts",
69 "--debug-code", "--verify-heap"], 70 "--debug-code", "--verify-heap"],
70 "release" : ["--nohard-abort", "--nodead-code-elimination", 71 "release" : ["--nohard-abort", "--nodead-code-elimination",
71 "--nofold-constants"]} 72 "--nofold-constants"]}
72 73
73 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", 74 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction",
74 "--concurrent-recompilation-queue-length=64", 75 "--concurrent-recompilation-queue-length=64",
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 exit_code = runner.Run(options.j) 540 exit_code = runner.Run(options.j)
540 overall_duration = time.time() - start_time 541 overall_duration = time.time() - start_time
541 542
542 if options.time: 543 if options.time:
543 verbose.PrintTestDurations(suites, overall_duration) 544 verbose.PrintTestDurations(suites, overall_duration)
544 return exit_code 545 return exit_code
545 546
546 547
547 if __name__ == "__main__": 548 if __name__ == "__main__":
548 sys.exit(Main()) 549 sys.exit(Main())
OLDNEW
« test/cctest/test-parsing.cc ('K') | « tools/gyp/v8.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698