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

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

Issue 1402353006: [test] Differentiate between exhaustive and default testing variants. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | tools/testrunner/local/testsuite.py » ('j') | 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 "webkit", 83 "webkit",
84 "intl", 84 "intl",
85 ], 85 ],
86 "unittests": [ 86 "unittests": [
87 "unittests", 87 "unittests",
88 ], 88 ],
89 } 89 }
90 90
91 TIMEOUT_DEFAULT = 60 91 TIMEOUT_DEFAULT = 60
92 92
93 VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"] 93 VARIANTS = ["default", "stress", "turbofan"]
94 94
95 EXHAUSTIVE_VARIANTS = VARIANTS + [ 95 EXHAUSTIVE_VARIANTS = VARIANTS + [
96 # TODO(machenbach): Add always opt turbo variant. 96 "nocrankshaft",
97 "turbofan_opt",
97 ] 98 ]
98 99
99 DEBUG_FLAGS = ["--nohard-abort", "--nodead-code-elimination", 100 DEBUG_FLAGS = ["--nohard-abort", "--nodead-code-elimination",
100 "--nofold-constants", "--enable-slow-asserts", 101 "--nofold-constants", "--enable-slow-asserts",
101 "--debug-code", "--verify-heap"] 102 "--debug-code", "--verify-heap"]
102 RELEASE_FLAGS = ["--nohard-abort", "--nodead-code-elimination", 103 RELEASE_FLAGS = ["--nohard-abort", "--nodead-code-elimination",
103 "--nofold-constants"] 104 "--nofold-constants"]
104 105
105 MODES = { 106 MODES = {
106 "debug": { 107 "debug": {
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 verbose.PrintTestDurations(suites, overall_duration) 752 verbose.PrintTestDurations(suites, overall_duration)
752 753
753 if num_tests == 0: 754 if num_tests == 0:
754 print("Warning: no tests were run!") 755 print("Warning: no tests were run!")
755 756
756 return exit_code 757 return exit_code
757 758
758 759
759 if __name__ == "__main__": 760 if __name__ == "__main__":
760 sys.exit(Main()) 761 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | tools/testrunner/local/testsuite.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698