| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 "release" : ["--nobreak-on-abort", "--nodead-code-elimination", | 63 "release" : ["--nobreak-on-abort", "--nodead-code-elimination", |
| 64 "--nofold-constants"]} | 64 "--nofold-constants"]} |
| 65 | 65 |
| 66 SUPPORTED_ARCHS = ["android_arm", | 66 SUPPORTED_ARCHS = ["android_arm", |
| 67 "android_ia32", | 67 "android_ia32", |
| 68 "arm", | 68 "arm", |
| 69 "ia32", | 69 "ia32", |
| 70 "mipsel", | 70 "mipsel", |
| 71 "nacl_ia32", | 71 "nacl_ia32", |
| 72 "nacl_x64", | 72 "nacl_x64", |
| 73 "x64"] | 73 "x64", |
| 74 "a64"] |
| 74 # Double the timeout for these: | 75 # Double the timeout for these: |
| 75 SLOW_ARCHS = ["android_arm", | 76 SLOW_ARCHS = ["android_arm", |
| 76 "android_ia32", | 77 "android_ia32", |
| 77 "arm", | 78 "arm", |
| 78 "mipsel", | 79 "mipsel", |
| 79 "nacl_ia32", | 80 "nacl_ia32", |
| 80 "nacl_x64"] | 81 "nacl_x64", |
| 82 "a64"] |
| 81 | 83 |
| 82 | 84 |
| 83 def BuildOptions(): | 85 def BuildOptions(): |
| 84 result = optparse.OptionParser() | 86 result = optparse.OptionParser() |
| 85 result.add_option("--arch", | 87 result.add_option("--arch", |
| 86 help=("The architecture to run tests for, " | 88 help=("The architecture to run tests for, " |
| 87 "'auto' or 'native' for auto-detect"), | 89 "'auto' or 'native' for auto-detect"), |
| 88 default="ia32,x64,arm") | 90 default="ia32,x64,arm") |
| 89 result.add_option("--arch-and-mode", | 91 result.add_option("--arch-and-mode", |
| 90 help="Architecture and mode in the format 'arch.mode'", | 92 help="Architecture and mode in the format 'arch.mode'", |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 except KeyboardInterrupt: | 378 except KeyboardInterrupt: |
| 377 return 1 | 379 return 1 |
| 378 | 380 |
| 379 if options.time: | 381 if options.time: |
| 380 verbose.PrintTestDurations(suites, overall_duration) | 382 verbose.PrintTestDurations(suites, overall_duration) |
| 381 return exit_code | 383 return exit_code |
| 382 | 384 |
| 383 | 385 |
| 384 if __name__ == "__main__": | 386 if __name__ == "__main__": |
| 385 sys.exit(Main()) | 387 sys.exit(Main()) |
| OLD | NEW |