| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 ARCH_GUESS = utils.DefaultArch() | 54 ARCH_GUESS = utils.DefaultArch() |
| 55 DEFAULT_TESTS = ["mjsunit", "webkit"] | 55 DEFAULT_TESTS = ["mjsunit", "webkit"] |
| 56 TIMEOUT_DEFAULT = 60 | 56 TIMEOUT_DEFAULT = 60 |
| 57 TIMEOUT_SCALEFACTOR = {"debug" : 4, | 57 TIMEOUT_SCALEFACTOR = {"debug" : 4, |
| 58 "release" : 1 } | 58 "release" : 1 } |
| 59 | 59 |
| 60 MODE_FLAGS = { | 60 MODE_FLAGS = { |
| 61 "debug" : ["--nohard-abort", "--nodead-code-elimination", | 61 "debug" : ["--nohard-abort", "--nodead-code-elimination", |
| 62 "--nofold-constants", "--enable-slow-asserts", | 62 "--nofold-constants", "--enable-slow-asserts", |
| 63 "--debug-code", "--verify-heap", | 63 "--verify-heap", "--noconcurrent-recompilation"], |
| 64 "--noconcurrent-recompilation"], | |
| 65 "release" : ["--nohard-abort", "--nodead-code-elimination", | 64 "release" : ["--nohard-abort", "--nodead-code-elimination", |
| 66 "--nofold-constants", "--noconcurrent-recompilation"]} | 65 "--nofold-constants", "--noconcurrent-recompilation"]} |
| 67 | 66 |
| 68 SUPPORTED_ARCHS = ["android_arm", | 67 SUPPORTED_ARCHS = ["android_arm", |
| 69 "android_ia32", | 68 "android_ia32", |
| 70 "arm", | 69 "arm", |
| 71 "ia32", | 70 "ia32", |
| 72 "ppc", | 71 "ppc", |
| 73 "ppc64", | 72 "ppc64", |
| 74 "s390", | 73 "s390", |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) | 483 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) |
| 485 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() | 484 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() |
| 486 runner = execution.Runner(suites, progress_indicator, ctx) | 485 runner = execution.Runner(suites, progress_indicator, ctx) |
| 487 | 486 |
| 488 code = runner.Run(options.j) | 487 code = runner.Run(options.j) |
| 489 return exit_code or code | 488 return exit_code or code |
| 490 | 489 |
| 491 | 490 |
| 492 if __name__ == "__main__": | 491 if __name__ == "__main__": |
| 493 sys.exit(Main()) | 492 sys.exit(Main()) |
| OLD | NEW |