OLD | NEW |
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 Loading... |
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 Loading... |
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()) |
OLD | NEW |