diff options
author | bruening@google.com <bruening@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 17:09:46 +0000 |
---|---|---|
committer | bruening@google.com <bruening@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 17:09:46 +0000 |
commit | f0f751fce95a1dd8603b9753d40c9f74808bb640 (patch) | |
tree | d8d13acc8c54fbd96d3b054f370166f5bd34deeb /tools/valgrind/valgrind_test.py | |
parent | 9da4fed7233ab6064345e32a6c81342afdadf307 (diff) | |
download | chromium_src-f0f751fce95a1dd8603b9753d40c9f74808bb640.zip chromium_src-f0f751fce95a1dd8603b9753d40c9f74808bb640.tar.gz chromium_src-f0f751fce95a1dd8603b9753d40c9f74808bb640.tar.bz2 |
Enable error messages such as Dr. Memory crashes on stderr so we can distinguish an app crash from a tool crash.
BUG=157132
R=rnk@chromium.org
TEST=Ran net_unittests and drmem i#1067's "Exception in client library" showed up.
Review URL: https://codereview.chromium.org/11365035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165406 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/valgrind_test.py')
-rw-r--r-- | tools/valgrind/valgrind_test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/valgrind/valgrind_test.py b/tools/valgrind/valgrind_test.py index 32acccc..554094a 100644 --- a/tools/valgrind/valgrind_test.py +++ b/tools/valgrind/valgrind_test.py @@ -876,8 +876,10 @@ class DrMemory(BaseTool): # Un-comment to dump Dr.Memory events on error #proc += ["-dr_ops", "-dumpcore_mask 0x8bff"] - # Un-comment to debug Dr.Memory - #proc += ["-dr_ops", "-no_hide -msgbox_mask 15"] + # Un-comment and comment next line to debug Dr.Memory + #proc += ["-dr_ops", "-no_hide -msgbox_mask 15 -stderr_mask 15"] + # Ensure we see messages about Dr. Memory crashing! + proc += ["-dr_ops", "-stderr_mask 12"] if self._options.use_debug: proc += ["-debug"] |