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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
55 "runtime-unittests", "message", "preparser"] | 55 "runtime-unittests", "message", "preparser"] |
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 # Use this to run several variants of the tests. | 60 # Use this to run several variants of the tests. |
61 VARIANT_FLAGS = { | 61 VARIANT_FLAGS = { |
62 "default": [], | 62 "default": [], |
63 "stress": ["--stress-opt", "--always-opt"], | 63 "stress": ["--stress-opt", "--always-opt"], |
64 "turbofan": ["--turbo-filter=*", "--always-opt"], | 64 "turbofan": ["--turbo-filter=*", "--always-opt"], |
65 "turbofan-generic": ["--turbo-filter=*", "--always-opt", "--nocontext-specia lization"], | |
sigurds
2014/08/22 14:01:33
Adds a variant with context specialization disable
| |
65 "nocrankshaft": ["--nocrankshaft"]} | 66 "nocrankshaft": ["--nocrankshaft"]} |
66 | 67 |
67 VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"] | 68 VARIANTS = ["default", "stress", "turbofan", "turbofan-generic", "nocrankshaft"] |
68 | 69 |
69 MODE_FLAGS = { | 70 MODE_FLAGS = { |
70 "debug" : ["--nohard-abort", "--nodead-code-elimination", | 71 "debug" : ["--nohard-abort", "--nodead-code-elimination", |
71 "--nofold-constants", "--enable-slow-asserts", | 72 "--nofold-constants", "--enable-slow-asserts", |
72 "--debug-code", "--verify-heap"], | 73 "--debug-code", "--verify-heap"], |
73 "release" : ["--nohard-abort", "--nodead-code-elimination", | 74 "release" : ["--nohard-abort", "--nodead-code-elimination", |
74 "--nofold-constants"]} | 75 "--nofold-constants"]} |
75 | 76 |
76 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", | 77 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", |
77 "--concurrent-recompilation-queue-length=64", | 78 "--concurrent-recompilation-queue-length=64", |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
542 exit_code = runner.Run(options.j) | 543 exit_code = runner.Run(options.j) |
543 overall_duration = time.time() - start_time | 544 overall_duration = time.time() - start_time |
544 | 545 |
545 if options.time: | 546 if options.time: |
546 verbose.PrintTestDurations(suites, overall_duration) | 547 verbose.PrintTestDurations(suites, overall_duration) |
547 return exit_code | 548 return exit_code |
548 | 549 |
549 | 550 |
550 if __name__ == "__main__": | 551 if __name__ == "__main__": |
551 sys.exit(Main()) | 552 sys.exit(Main()) |
OLD | NEW |