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

Side by Side Diff: tools/valgrind/valgrind_test.py

Issue 574643006: Disable delete mismatch on Dr.Memory bot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PTAL Created 6 years, 3 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 | « tools/valgrind/drmemory/suppressions_full.txt ('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 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Runs an exe through Valgrind and puts the intermediate files in a 5 """Runs an exe through Valgrind and puts the intermediate files in a
6 directory. 6 directory.
7 """ 7 """
8 8
9 import datetime 9 import datetime
10 import glob 10 import glob
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 931
932 # Un-comment to disable interleaved output. Will also suppress error 932 # Un-comment to disable interleaved output. Will also suppress error
933 # messages normally printed to stderr. 933 # messages normally printed to stderr.
934 #proc += ["-quiet", "-no_results_to_stderr"] 934 #proc += ["-quiet", "-no_results_to_stderr"]
935 935
936 proc += ["-callstack_max_frames", "40"] 936 proc += ["-callstack_max_frames", "40"]
937 937
938 # disable leak scan for now 938 # disable leak scan for now
939 proc += ["-no_count_leaks", "-no_leak_scan"] 939 proc += ["-no_count_leaks", "-no_leak_scan"]
940 940
941 # crbug.com/413215, no heap mismatch check for Windows release build binary
942 if common.IsWindows() and "Release" in self._options.build_dir:
943 proc += ["-no_check_delete_mismatch"]
944
941 # make callstacks easier to read 945 # make callstacks easier to read
942 proc += ["-callstack_srcfile_prefix", 946 proc += ["-callstack_srcfile_prefix",
943 "build\\src,chromium\\src,crt_build\\self_x86"] 947 "build\\src,chromium\\src,crt_build\\self_x86"]
944 proc += ["-callstack_modname_hide", 948 proc += ["-callstack_modname_hide",
945 "*drmemory*,chrome.dll"] 949 "*drmemory*,chrome.dll"]
946 950
947 boring_callers = common.BoringCallers(mangled=False, use_re_wildcards=False) 951 boring_callers = common.BoringCallers(mangled=False, use_re_wildcards=False)
948 # TODO(timurrrr): In fact, we want "starting from .." instead of "below .." 952 # TODO(timurrrr): In fact, we want "starting from .." instead of "below .."
949 proc += ["-callstack_truncate_below", ",".join(boring_callers)] 953 proc += ["-callstack_truncate_below", ",".join(boring_callers)]
950 954
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 return Asan() 1227 return Asan()
1224 try: 1228 try:
1225 platform_name = common.PlatformNames()[0] 1229 platform_name = common.PlatformNames()[0]
1226 except common.NotImplementedError: 1230 except common.NotImplementedError:
1227 platform_name = sys.platform + "(Unknown)" 1231 platform_name = sys.platform + "(Unknown)"
1228 raise RuntimeError, "Unknown tool (tool=%s, platform=%s)" % (tool_name, 1232 raise RuntimeError, "Unknown tool (tool=%s, platform=%s)" % (tool_name,
1229 platform_name) 1233 platform_name)
1230 1234
1231 def CreateTool(tool): 1235 def CreateTool(tool):
1232 return ToolFactory().Create(tool) 1236 return ToolFactory().Create(tool)
OLDNEW
« no previous file with comments | « tools/valgrind/drmemory/suppressions_full.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698