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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
105 "execution_mode": "debug", | 105 "execution_mode": "debug", |
106 "output_folder": "optdebug", | 106 "output_folder": "optdebug", |
107 }, | 107 }, |
108 "release": { | 108 "release": { |
109 "flags": RELEASE_FLAGS, | 109 "flags": RELEASE_FLAGS, |
110 "timeout_scalefactor": 1, | 110 "timeout_scalefactor": 1, |
111 "status_mode": "release", | 111 "status_mode": "release", |
112 "execution_mode": "release", | 112 "execution_mode": "release", |
113 "output_folder": "release", | 113 "output_folder": "release", |
114 }, | 114 }, |
115 # Normal trybot release configuraion. There, dchecks are always on which | |
Jakob Kummerow
2015/04/20 15:26:02
nit: configuration
Michael Achenbach
2015/04/21 07:45:22
Done.
| |
116 # implies debug is set. Hence, the status file needs to assume debug-like | |
117 # behavior/timeouts. | |
118 "tryrelease": { | |
119 "flags": RELEASE_FLAGS, | |
120 "timeout_scalefactor": 1, | |
Jakob Kummerow
2015/04/20 15:26:02
Contrary to the expectation set by the comment abo
Michael Achenbach
2015/04/21 07:45:22
Yes. It should make a difference to the slow versi
| |
121 "status_mode": "debug", | |
122 "execution_mode": "release", | |
123 "output_folder": "release", | |
124 }, | |
115 # This mode requires v8 to be compiled with dchecks and slow dchecks. | 125 # This mode requires v8 to be compiled with dchecks and slow dchecks. |
Michael Achenbach
2015/04/20 13:22:33
This has not been used yet.
| |
116 "tryrelease": { | 126 "slowrelease": { |
117 "flags": RELEASE_FLAGS + ["--enable-slow-asserts"], | 127 "flags": RELEASE_FLAGS + ["--enable-slow-asserts"], |
118 "timeout_scalefactor": 2, | 128 "timeout_scalefactor": 2, |
119 "status_mode": "debug", | 129 "status_mode": "debug", |
120 "execution_mode": "release", | 130 "execution_mode": "release", |
121 "output_folder": "release", | 131 "output_folder": "release", |
122 }, | 132 }, |
123 } | 133 } |
124 | 134 |
125 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", | 135 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", |
126 "--concurrent-recompilation-queue-length=64", | 136 "--concurrent-recompilation-queue-length=64", |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
627 exit_code = runner.Run(options.j) | 637 exit_code = runner.Run(options.j) |
628 overall_duration = time.time() - start_time | 638 overall_duration = time.time() - start_time |
629 | 639 |
630 if options.time: | 640 if options.time: |
631 verbose.PrintTestDurations(suites, overall_duration) | 641 verbose.PrintTestDurations(suites, overall_duration) |
632 return exit_code | 642 return exit_code |
633 | 643 |
634 | 644 |
635 if __name__ == "__main__": | 645 if __name__ == "__main__": |
636 sys.exit(Main()) | 646 sys.exit(Main()) |
OLD | NEW |