summaryrefslogtreecommitdiffstats
path: root/tools/heapcheck/heapcheck_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Make heapcheck runner use the shadow stacks.glider@chromium.org2010-08-311-0/+1
| | | | | | | | | | | | Enable CertDatabaseNSSTest.ImportFromPKCS12 back, since the leaks are suppressible now. TBR=mattm BUG=51988 Review URL: http://codereview.chromium.org/3218011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57980 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the stack line regexp to get rid of false matching lines without realglider@chromium.org2010-06-161-1/+1
| | | | | | | | | addresses. TBR=timurrrr Review URL: http://codereview.chromium.org/2853005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49935 0039d316-1c4b-4281-b951-d872f2087c98
* Better error handling for broken heapcheck logs. Needed for buildbot-siideglider@chromium.org2010-06-161-1/+7
| | | | | | | | | | debugging. TBR=timurrrr Review URL: http://codereview.chromium.org/2852009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49933 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PYTHONPATH handling for heapchecker according toglider@chromium.org2010-05-051-3/+3
| | | | | | | | | http://codereview.chromium.org/1736026/show Review URL: http://codereview.chromium.org/1910003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46446 0039d316-1c4b-4281-b951-d872f2087c98
* Make the heapcheck suppressions prettier.glider@chromium.org2010-04-201-3/+3
| | | | | | | | TBR=tvl Review URL: http://codereview.chromium.org/1520043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45036 0039d316-1c4b-4281-b951-d872f2087c98
* Print suppressions for the leaks reported by heap leak checker.glider@chromium.org2010-04-201-0/+12
| | | | | | | | TBR=tvl Review URL: http://codereview.chromium.org/1681001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45035 0039d316-1c4b-4281-b951-d872f2087c98
* Added the link to heapchecker howto.glider@chromium.org2010-04-011-0/+3
| | | | | | | | TBR=timurrrr Review URL: http://codereview.chromium.org/1527006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43330 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the heapchecker log reader to accept log lines containing spaces in theglider@chromium.org2010-03-231-1/+1
| | | | | | | | | | | function names (e.g. "0xdeadbeef void Foobar") TBR=timurrrr Review URL: http://codereview.chromium.org/1164006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42335 0039d316-1c4b-4281-b951-d872f2087c98
* Change the heapchecker's stack line regexp to match both address output formatsglider@chromium.org2010-03-011-1/+1
| | | | | | | | used by tcmalloc (v1.4 vs. v1.5): "deadbeef" and "0xdeadbeef". Review URL: http://codereview.chromium.org/661279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40278 0039d316-1c4b-4281-b951-d872f2087c98
* Hotfixed the heap checker wrapper.glider@chromium.org2010-02-121-3/+3
| | | | | | Review URL: http://codereview.chromium.org/603042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38896 0039d316-1c4b-4281-b951-d872f2087c98
* Make the heapheck runner recognize the sanity tests.glider@chromium.org2010-02-121-12/+30
| | | | | | | | TBR=willchan,thestig Review URL: http://codereview.chromium.org/596085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38895 0039d316-1c4b-4281-b951-d872f2087c98
* Preload the debug version of libstdc++.so before running the tests.glider@chromium.org2010-02-081-0/+1
| | | | | | | | | | This should help to get better stacks for the leaks of objects allocated within libstdc++. TBR=willchan Review URL: http://codereview.chromium.org/574028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38353 0039d316-1c4b-4281-b951-d872f2087c98
* Backported the HEAP_CHECK_MAX_LEAKS feature from the upstream perftools.glider@chromium.org2009-12-251-0/+1
| | | | | | | | This should allow the heapcheck bot to print all the leaks found. Review URL: http://codereview.chromium.org/522012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35274 0039d316-1c4b-4281-b951-d872f2087c98
* Made pprof executable and set the explicit path to it in the heapcheck runner.glider@chromium.org2009-12-241-0/+3
| | | | | | | TBR=willchan Review URL: http://codereview.chromium.org/515029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35262 0039d316-1c4b-4281-b951-d872f2087c98
* Created tools/heapcheck with scripts for running heapchecker-enabled tests.timurrrr@chromium.org2009-12-011-0/+166
chrome_tests.sh -- a frontend for the buildbot slave to run the tests under heap leak checker. chrome_tests.py -- almost copied from the similar scripts in ../valgrind/ and ../purify/, invokes heapcheck_test.py for each target. heapcheck_test.py -- runs a single test, processes the logs and applies suppressions to the reports returned by the heap checker. heapcheck_std.sh -- a tiny wrapper for IO redirection. suppressions.py -- provides the support for Valgrind-style stack trace suppressions. This patch was originally prepared by Alexander Potapenko (cc'ed) as http://codereview.chromium.org/400010 TBR=dank,erikkay Review URL: http://codereview.chromium.org/455021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33451 0039d316-1c4b-4281-b951-d872f2087c98