| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 "--concurrent-recompilation"] | 76 "--concurrent-recompilation"] |
| 77 | 77 |
| 78 SUPPORTED_ARCHS = ["android_arm", | 78 SUPPORTED_ARCHS = ["android_arm", |
| 79 "android_arm64", | 79 "android_arm64", |
| 80 "android_ia32", | 80 "android_ia32", |
| 81 "arm", | 81 "arm", |
| 82 "ia32", | 82 "ia32", |
| 83 "x87", | 83 "x87", |
| 84 "mips", | 84 "mips", |
| 85 "mipsel", | 85 "mipsel", |
| 86 "mips64el", |
| 86 "nacl_ia32", | 87 "nacl_ia32", |
| 87 "nacl_x64", | 88 "nacl_x64", |
| 88 "x64", | 89 "x64", |
| 89 "x32", | 90 "x32", |
| 90 "arm64"] | 91 "arm64"] |
| 91 # Double the timeout for these: | 92 # Double the timeout for these: |
| 92 SLOW_ARCHS = ["android_arm", | 93 SLOW_ARCHS = ["android_arm", |
| 93 "android_arm64", | 94 "android_arm64", |
| 94 "android_ia32", | 95 "android_ia32", |
| 95 "arm", | 96 "arm", |
| 96 "mips", | 97 "mips", |
| 97 "mipsel", | 98 "mipsel", |
| 99 "mips64el", |
| 98 "nacl_ia32", | 100 "nacl_ia32", |
| 99 "nacl_x64", | 101 "nacl_x64", |
| 100 "x87", | 102 "x87", |
| 101 "arm64"] | 103 "arm64"] |
| 102 | 104 |
| 103 | 105 |
| 104 def BuildOptions(): | 106 def BuildOptions(): |
| 105 result = optparse.OptionParser() | 107 result = optparse.OptionParser() |
| 106 result.add_option("--arch", | 108 result.add_option("--arch", |
| 107 help=("The architecture to run tests for, " | 109 help=("The architecture to run tests for, " |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 exit_code = runner.Run(options.j) | 532 exit_code = runner.Run(options.j) |
| 531 overall_duration = time.time() - start_time | 533 overall_duration = time.time() - start_time |
| 532 | 534 |
| 533 if options.time: | 535 if options.time: |
| 534 verbose.PrintTestDurations(suites, overall_duration) | 536 verbose.PrintTestDurations(suites, overall_duration) |
| 535 return exit_code | 537 return exit_code |
| 536 | 538 |
| 537 | 539 |
| 538 if __name__ == "__main__": | 540 if __name__ == "__main__": |
| 539 sys.exit(Main()) | 541 sys.exit(Main()) |
| OLD | NEW |