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

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

Issue 2528913002: [compiler] Make --debug-code the default in debug builds. (Closed)
Patch Set: Adapt more. Created 4 years 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 | « tools/run-deopt-fuzzer.py ('k') | 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 # The default for developer workstations. 120 # The default for developer workstations.
121 "dev": VARIANTS, 121 "dev": VARIANTS,
122 # Additional variants, run on all bots. 122 # Additional variants, run on all bots.
123 "more": MORE_VARIANTS, 123 "more": MORE_VARIANTS,
124 # Additional variants, run on a subset of bots. 124 # Additional variants, run on a subset of bots.
125 "extra": ["nocrankshaft"], 125 "extra": ["nocrankshaft"],
126 } 126 }
127 127
128 DEBUG_FLAGS = ["--nohard-abort", "--nodead-code-elimination", 128 DEBUG_FLAGS = ["--nohard-abort", "--nodead-code-elimination",
129 "--nofold-constants", "--enable-slow-asserts", 129 "--nofold-constants", "--enable-slow-asserts",
130 "--debug-code", "--verify-heap"] 130 "--verify-heap"]
131 RELEASE_FLAGS = ["--nohard-abort", "--nodead-code-elimination", 131 RELEASE_FLAGS = ["--nohard-abort", "--nodead-code-elimination",
132 "--nofold-constants"] 132 "--nofold-constants"]
133 133
134 MODES = { 134 MODES = {
135 "debug": { 135 "debug": {
136 "flags": DEBUG_FLAGS, 136 "flags": DEBUG_FLAGS,
137 "timeout_scalefactor": 4, 137 "timeout_scalefactor": 4,
138 "status_mode": "debug", 138 "status_mode": "debug",
139 "execution_mode": "debug", 139 "execution_mode": "debug",
140 "output_folder": "debug", 140 "output_folder": "debug",
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 "--coverage-dir=%s" % options.sancov_dir]) 920 "--coverage-dir=%s" % options.sancov_dir])
921 except: 921 except:
922 print >> sys.stderr, "Error: Merging sancov files failed." 922 print >> sys.stderr, "Error: Merging sancov files failed."
923 exit_code = 1 923 exit_code = 1
924 924
925 return exit_code 925 return exit_code
926 926
927 927
928 if __name__ == "__main__": 928 if __name__ == "__main__":
929 sys.exit(Main()) 929 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/run-deopt-fuzzer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698