Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Side by Side Diff: tools/run-tests.py

Issue 1098883002: [test-runner] Add dedicated test mode for tryserver. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 configuration. There, dchecks are always on which
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,
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.
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
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())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698