| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 # Use this to run several variants of the tests. | 57 # Use this to run several variants of the tests. |
| 58 VARIANT_FLAGS = { | 58 VARIANT_FLAGS = { |
| 59 "default": [], | 59 "default": [], |
| 60 "stress": ["--stress-opt", "--always-opt"], | 60 "stress": ["--stress-opt", "--always-opt"], |
| 61 "nocrankshaft": ["--nocrankshaft"]} | 61 "nocrankshaft": ["--nocrankshaft"]} |
| 62 | 62 |
| 63 VARIANTS = ["default", "stress", "nocrankshaft"] | 63 VARIANTS = ["default", "stress", "nocrankshaft"] |
| 64 | 64 |
| 65 MODE_FLAGS = { | 65 MODE_FLAGS = { |
| 66 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination", | 66 "debug" : ["--nohard-abort", "--nodead-code-elimination", |
| 67 "--nofold-constants", "--enable-slow-asserts", | 67 "--nofold-constants", "--enable-slow-asserts", |
| 68 "--debug-code", "--verify-heap"], | 68 "--debug-code", "--verify-heap"], |
| 69 "release" : ["--nobreak-on-abort", "--nodead-code-elimination", | 69 "release" : ["--nohard-abort", "--nodead-code-elimination", |
| 70 "--nofold-constants"]} | 70 "--nofold-constants"]} |
| 71 | 71 |
| 72 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", | 72 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", |
| 73 "--concurrent-recompilation-queue-length=64", | 73 "--concurrent-recompilation-queue-length=64", |
| 74 "--concurrent-recompilation-delay=500", | 74 "--concurrent-recompilation-delay=500", |
| 75 "--concurrent-recompilation"] | 75 "--concurrent-recompilation"] |
| 76 | 76 |
| 77 SUPPORTED_ARCHS = ["android_arm", | 77 SUPPORTED_ARCHS = ["android_arm", |
| 78 "android_ia32", | 78 "android_ia32", |
| 79 "arm", | 79 "arm", |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 except KeyboardInterrupt: | 483 except KeyboardInterrupt: |
| 484 raise | 484 raise |
| 485 | 485 |
| 486 if options.time: | 486 if options.time: |
| 487 verbose.PrintTestDurations(suites, overall_duration) | 487 verbose.PrintTestDurations(suites, overall_duration) |
| 488 return exit_code | 488 return exit_code |
| 489 | 489 |
| 490 | 490 |
| 491 if __name__ == "__main__": | 491 if __name__ == "__main__": |
| 492 sys.exit(Main()) | 492 sys.exit(Main()) |
| OLD | NEW |