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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 ARCH_GUESS = utils.DefaultArch() | 51 ARCH_GUESS = utils.DefaultArch() |
52 DEFAULT_TESTS = ["mjsunit", "webkit"] | 52 DEFAULT_TESTS = ["mjsunit", "webkit"] |
53 TIMEOUT_DEFAULT = 60 | 53 TIMEOUT_DEFAULT = 60 |
54 TIMEOUT_SCALEFACTOR = {"debug" : 4, | 54 TIMEOUT_SCALEFACTOR = {"debug" : 4, |
55 "release" : 1 } | 55 "release" : 1 } |
56 | 56 |
57 MODE_FLAGS = { | 57 MODE_FLAGS = { |
58 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination", | 58 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination", |
59 "--nofold-constants", "--enable-slow-asserts", | 59 "--nofold-constants", "--enable-slow-asserts", |
60 "--debug-code", "--verify-heap", | 60 "--debug-code", "--verify-heap", |
61 "--noparallel-recompilation"], | 61 "--noconcurrent-recompilation"], |
62 "release" : ["--nobreak-on-abort", "--nodead-code-elimination", | 62 "release" : ["--nobreak-on-abort", "--nodead-code-elimination", |
63 "--nofold-constants", "--noparallel-recompilation"]} | 63 "--nofold-constants", "--noconcurrent-recompilation"]} |
64 | 64 |
65 SUPPORTED_ARCHS = ["android_arm", | 65 SUPPORTED_ARCHS = ["android_arm", |
66 "android_ia32", | 66 "android_ia32", |
67 "arm", | 67 "arm", |
68 "ia32", | 68 "ia32", |
69 "mipsel", | 69 "mipsel", |
70 "nacl_ia32", | 70 "nacl_ia32", |
71 "nacl_x64", | 71 "nacl_x64", |
72 "x64"] | 72 "x64"] |
73 # Double the timeout for these: | 73 # Double the timeout for these: |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 return exit_code | 458 return exit_code |
459 | 459 |
460 except KeyboardInterrupt: | 460 except KeyboardInterrupt: |
461 return 1 | 461 return 1 |
462 | 462 |
463 return exit_code | 463 return exit_code |
464 | 464 |
465 | 465 |
466 if __name__ == "__main__": | 466 if __name__ == "__main__": |
467 sys.exit(Main()) | 467 sys.exit(Main()) |
OLD | NEW |