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

Side by Side Diff: tools/run-deopt-fuzzer.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/jsfunfuzz/fuzz-harness.sh ('k') | tools/run-tests.py » ('j') | 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 ARCH_GUESS = utils.DefaultArch() 54 ARCH_GUESS = utils.DefaultArch()
55 DEFAULT_TESTS = ["mjsunit", "webkit"] 55 DEFAULT_TESTS = ["mjsunit", "webkit"]
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 MODE_FLAGS = { 60 MODE_FLAGS = {
61 "debug" : ["--nohard-abort", "--nodead-code-elimination", 61 "debug" : ["--nohard-abort", "--nodead-code-elimination",
62 "--nofold-constants", "--enable-slow-asserts", 62 "--nofold-constants", "--enable-slow-asserts",
63 "--debug-code", "--verify-heap", 63 "--verify-heap", "--noconcurrent-recompilation"],
64 "--noconcurrent-recompilation"],
65 "release" : ["--nohard-abort", "--nodead-code-elimination", 64 "release" : ["--nohard-abort", "--nodead-code-elimination",
66 "--nofold-constants", "--noconcurrent-recompilation"]} 65 "--nofold-constants", "--noconcurrent-recompilation"]}
67 66
68 SUPPORTED_ARCHS = ["android_arm", 67 SUPPORTED_ARCHS = ["android_arm",
69 "android_ia32", 68 "android_ia32",
70 "arm", 69 "arm",
71 "ia32", 70 "ia32",
72 "ppc", 71 "ppc",
73 "ppc64", 72 "ppc64",
74 "s390", 73 "s390",
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) 483 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests)
485 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() 484 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]()
486 runner = execution.Runner(suites, progress_indicator, ctx) 485 runner = execution.Runner(suites, progress_indicator, ctx)
487 486
488 code = runner.Run(options.j) 487 code = runner.Run(options.j)
489 return exit_code or code 488 return exit_code or code
490 489
491 490
492 if __name__ == "__main__": 491 if __name__ == "__main__":
493 sys.exit(Main()) 492 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/jsfunfuzz/fuzz-harness.sh ('k') | tools/run-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698