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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 "webkit", | 105 "webkit", |
106 "intl", | 106 "intl", |
107 ], | 107 ], |
108 "unittests": [ | 108 "unittests": [ |
109 "unittests", | 109 "unittests", |
110 ], | 110 ], |
111 } | 111 } |
112 | 112 |
113 TIMEOUT_DEFAULT = 60 | 113 TIMEOUT_DEFAULT = 60 |
114 | 114 |
115 VARIANTS = ["default", "stress", "turbofan"] | 115 # TODO(machenbach): Add ignition_staging variant. |
| 116 VARIANTS = ["default", "turbofan"] |
116 | 117 |
117 MORE_VARIANTS = [ | 118 MORE_VARIANTS = [ |
118 "ignition", | 119 "ignition", |
119 "nocrankshaft", | 120 "stress", |
120 "turbofan_opt", | 121 "turbofan_opt", |
121 ] | 122 ] |
122 | 123 |
123 EXHAUSTIVE_VARIANTS = VARIANTS + MORE_VARIANTS | 124 EXHAUSTIVE_VARIANTS = VARIANTS + MORE_VARIANTS |
124 | 125 |
125 VARIANT_ALIASES = { | 126 VARIANT_ALIASES = { |
126 # The default for developer workstations. | 127 # The default for developer workstations. |
127 "dev": VARIANTS, | 128 "dev": VARIANTS, |
128 # Additional variants, run on all bots. | 129 # Additional variants, run on all bots. |
129 "more": MORE_VARIANTS, | 130 "more": MORE_VARIANTS, |
130 # Additional variants, run on a subset of bots. | 131 # Additional variants, run on a subset of bots. |
131 "extra": [], | 132 "extra": ["nocrankshaft"], |
132 } | 133 } |
133 | 134 |
134 DEBUG_FLAGS = ["--nohard-abort", "--nodead-code-elimination", | 135 DEBUG_FLAGS = ["--nohard-abort", "--nodead-code-elimination", |
135 "--nofold-constants", "--enable-slow-asserts", | 136 "--nofold-constants", "--enable-slow-asserts", |
136 "--debug-code", "--verify-heap"] | 137 "--debug-code", "--verify-heap"] |
137 RELEASE_FLAGS = ["--nohard-abort", "--nodead-code-elimination", | 138 RELEASE_FLAGS = ["--nohard-abort", "--nodead-code-elimination", |
138 "--nofold-constants"] | 139 "--nofold-constants"] |
139 | 140 |
140 MODES = { | 141 MODES = { |
141 "debug": { | 142 "debug": { |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 "--coverage-dir=%s" % options.sancov_dir]) | 903 "--coverage-dir=%s" % options.sancov_dir]) |
903 except: | 904 except: |
904 print >> sys.stderr, "Error: Merging sancov files failed." | 905 print >> sys.stderr, "Error: Merging sancov files failed." |
905 exit_code = 1 | 906 exit_code = 1 |
906 | 907 |
907 return exit_code | 908 return exit_code |
908 | 909 |
909 | 910 |
910 if __name__ == "__main__": | 911 if __name__ == "__main__": |
911 sys.exit(Main()) | 912 sys.exit(Main()) |
OLD | NEW |