| 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 "mips", |
| 83 "mipsel", | 84 "mipsel", |
| 84 "nacl_ia32", | 85 "nacl_ia32", |
| 85 "nacl_x64", | 86 "nacl_x64", |
| 86 "x64", | 87 "x64", |
| 87 "arm64"] | 88 "arm64"] |
| 88 # Double the timeout for these: | 89 # Double the timeout for these: |
| 89 SLOW_ARCHS = ["android_arm", | 90 SLOW_ARCHS = ["android_arm", |
| 90 "android_arm64", | 91 "android_arm64", |
| 91 "android_ia32", | 92 "android_ia32", |
| 92 "arm", | 93 "arm", |
| 94 "mips", |
| 93 "mipsel", | 95 "mipsel", |
| 94 "nacl_ia32", | 96 "nacl_ia32", |
| 95 "nacl_x64", | 97 "nacl_x64", |
| 96 "arm64"] | 98 "arm64"] |
| 97 | 99 |
| 98 | 100 |
| 99 def BuildOptions(): | 101 def BuildOptions(): |
| 100 result = optparse.OptionParser() | 102 result = optparse.OptionParser() |
| 101 result.add_option("--arch", | 103 result.add_option("--arch", |
| 102 help=("The architecture to run tests for, " | 104 help=("The architecture to run tests for, " |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 except KeyboardInterrupt: | 498 except KeyboardInterrupt: |
| 497 raise | 499 raise |
| 498 | 500 |
| 499 if options.time: | 501 if options.time: |
| 500 verbose.PrintTestDurations(suites, overall_duration) | 502 verbose.PrintTestDurations(suites, overall_duration) |
| 501 return exit_code | 503 return exit_code |
| 502 | 504 |
| 503 | 505 |
| 504 if __name__ == "__main__": | 506 if __name__ == "__main__": |
| 505 sys.exit(Main()) | 507 sys.exit(Main()) |
| OLD | NEW |