| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", | 73 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", |
| 74 "--concurrent-recompilation-queue-length=64", | 74 "--concurrent-recompilation-queue-length=64", |
| 75 "--concurrent-recompilation-delay=500", | 75 "--concurrent-recompilation-delay=500", |
| 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 "mips", | 84 "mips", |
| 84 "mipsel", | 85 "mipsel", |
| 85 "nacl_ia32", | 86 "nacl_ia32", |
| 86 "nacl_x64", | 87 "nacl_x64", |
| 87 "x64", | 88 "x64", |
| 88 "arm64"] | 89 "arm64"] |
| 89 # Double the timeout for these: | 90 # Double the timeout for these: |
| 90 SLOW_ARCHS = ["android_arm", | 91 SLOW_ARCHS = ["android_arm", |
| 91 "android_arm64", | 92 "android_arm64", |
| 92 "android_ia32", | 93 "android_ia32", |
| 93 "arm", | 94 "arm", |
| 94 "mips", | 95 "mips", |
| 95 "mipsel", | 96 "mipsel", |
| 96 "nacl_ia32", | 97 "nacl_ia32", |
| 97 "nacl_x64", | 98 "nacl_x64", |
| 99 "x87", |
| 98 "arm64"] | 100 "arm64"] |
| 99 | 101 |
| 100 | 102 |
| 101 def BuildOptions(): | 103 def BuildOptions(): |
| 102 result = optparse.OptionParser() | 104 result = optparse.OptionParser() |
| 103 result.add_option("--arch", | 105 result.add_option("--arch", |
| 104 help=("The architecture to run tests for, " | 106 help=("The architecture to run tests for, " |
| 105 "'auto' or 'native' for auto-detect"), | 107 "'auto' or 'native' for auto-detect"), |
| 106 default="ia32,x64,arm") | 108 default="ia32,x64,arm") |
| 107 result.add_option("--arch-and-mode", | 109 result.add_option("--arch-and-mode", |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 exit_code = runner.Run(options.j) | 499 exit_code = runner.Run(options.j) |
| 498 overall_duration = time.time() - start_time | 500 overall_duration = time.time() - start_time |
| 499 | 501 |
| 500 if options.time: | 502 if options.time: |
| 501 verbose.PrintTestDurations(suites, overall_duration) | 503 verbose.PrintTestDurations(suites, overall_duration) |
| 502 return exit_code | 504 return exit_code |
| 503 | 505 |
| 504 | 506 |
| 505 if __name__ == "__main__": | 507 if __name__ == "__main__": |
| 506 sys.exit(Main()) | 508 sys.exit(Main()) |
| OLD | NEW |