| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 } | 97 } |
| 98 | 98 |
| 99 TIMEOUT_DEFAULT = 60 | 99 TIMEOUT_DEFAULT = 60 |
| 100 | 100 |
| 101 VARIANTS = ["default", "turbofan", "ignition_staging"] | 101 VARIANTS = ["default", "turbofan", "ignition_staging"] |
| 102 | 102 |
| 103 MORE_VARIANTS = [ | 103 MORE_VARIANTS = [ |
| 104 "ignition", | 104 "ignition", |
| 105 "stress", | 105 "stress", |
| 106 "turbofan_opt", | 106 "turbofan_opt", |
| 107 "asm_wasm", |
| 107 ] | 108 ] |
| 108 | 109 |
| 109 EXHAUSTIVE_VARIANTS = VARIANTS + MORE_VARIANTS | 110 EXHAUSTIVE_VARIANTS = VARIANTS + MORE_VARIANTS |
| 110 | 111 |
| 111 VARIANT_ALIASES = { | 112 VARIANT_ALIASES = { |
| 112 # The default for developer workstations. | 113 # The default for developer workstations. |
| 113 "dev": VARIANTS, | 114 "dev": VARIANTS, |
| 114 # Additional variants, run on all bots. | 115 # Additional variants, run on all bots. |
| 115 "more": MORE_VARIANTS, | 116 "more": MORE_VARIANTS, |
| 116 # Additional variants, run on a subset of bots. | 117 # Additional variants, run on a subset of bots. |
| (...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 "--coverage-dir=%s" % options.sancov_dir]) | 899 "--coverage-dir=%s" % options.sancov_dir]) |
| 899 except: | 900 except: |
| 900 print >> sys.stderr, "Error: Merging sancov files failed." | 901 print >> sys.stderr, "Error: Merging sancov files failed." |
| 901 exit_code = 1 | 902 exit_code = 1 |
| 902 | 903 |
| 903 return exit_code | 904 return exit_code |
| 904 | 905 |
| 905 | 906 |
| 906 if __name__ == "__main__": | 907 if __name__ == "__main__": |
| 907 sys.exit(Main()) | 908 sys.exit(Main()) |
| OLD | NEW |