summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/valgrind_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix tools/valgrind/chrome_tests.sh to always use --log-file optiondank@chromium.org2009-07-071-8/+15
| | | | | | | | | | | | | | | so fork() doesn't corrupt log files; lets --generate_suppressions work even with the hacky valgrind fix that makes anything but --log-file crash on child of fork(). Also avoid killing user desktop session if zygote dies! BUG=none, but related to fix for http://crbug.com/15771 TEST=patch valgrind with fork workaround; sh tools/valgrind/chrome_tests.sh --generate_suppressions -t ui logs you out on linux without this. Review URL: http://codereview.chromium.org/155130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20024 0039d316-1c4b-4281-b951-d872f2087c98
* Increase valgrind's --num-callers to 50nirnimesh@chromium.org2009-06-111-1/+1
| | | | | | Review URL: http://codereview.chromium.org/119445 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18162 0039d316-1c4b-4281-b951-d872f2087c98
* mac valgrind bot: Make running dsymutil an option for now, since it slows ↵dkegel@google.com2009-05-061-8/+16
| | | | | | | | down the run a lot, and causes timeouts. Reenable by default once we have multiple mac bots. Review URL: http://codereview.chromium.org/114003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15431 0039d316-1c4b-4281-b951-d872f2087c98
* mac valgrind: remove special case in python script.dkegel@google.com2009-05-041-49/+13
| | | | | | | | | Also have --generate_suppressions output to normal log file for now. Review URL: http://codereview.chromium.org/99356 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15243 0039d316-1c4b-4281-b951-d872f2087c98
* Patch from kcc to add a --custom_valgrind_command flag, for use with e.g. ↵dkegel@google.com2009-04-241-21/+30
| | | | | | | | | thread race detection tools (From issue 95004) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14430 0039d316-1c4b-4281-b951-d872f2087c98
* - Add support for platform specific suppression files for Valgrindnirnimesh@chromium.org2009-04-061-2/+2
| | | | | | | | | - Suppress setenv() leak, coz it's intentional - Get rid of unncessary default parameter (".") with --suppressions Review URL: http://codereview.chromium.org/57069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13170 0039d316-1c4b-4281-b951-d872f2087c98
* Run dsymutil before valgrind (Mac)mark@chromium.org2009-03-271-0/+63
| | | | | | Review URL: http://codereview.chromium.org/55030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12693 0039d316-1c4b-4281-b951-d872f2087c98
* Support --track_origins option.dkegel@google.com2009-03-271-2/+6
| | | | | | Review URL: http://codereview.chromium.org/53119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12667 0039d316-1c4b-4281-b951-d872f2087c98
* When running ui_tests, need to tell valgrind to also trace child processes.dkegel@google.com2009-03-261-1/+31
| | | | | | | | Also need to avoid valgrinding python. Review URL: http://codereview.chromium.org/45053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12572 0039d316-1c4b-4281-b951-d872f2087c98
* Enable suppressions in Valgrindnirnimesh@chromium.org2009-03-251-4/+25
| | | | | | Review URL: http://codereview.chromium.org/42601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12447 0039d316-1c4b-4281-b951-d872f2087c98
* Add --show_all_leaks option. dkegel@google.com2009-03-201-1/+12
| | | | | | | | Add --gtest_print_time option to valgrind_test.py and use it always in chrome_test.py, since we probably want to keep an eye out for tests that are too slow for valgrind. Review URL: http://codereview.chromium.org/50055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12194 0039d316-1c4b-4281-b951-d872f2087c98
* Implement --verbose in valgrind_test.py to make chrome_tests.py -v happydkegel@google.com2009-03-201-0/+11
| | | | | | | | | Also log the two environment variables we set Review URL: http://codereview.chromium.org/42428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12183 0039d316-1c4b-4281-b951-d872f2087c98
* Call two more shutdown functions, and set an environment variable, dkegel@google.com2009-03-191-0/+3
| | | | | | | | | | | | to make nss play well with valgrind, as recommended by Wan-Teh in http://groups.google.com/group/mozilla.dev.tech.crypto/msg/49fe8582df376d06 Set the same environment variables in chrome_test.sh/valgrind_test.py and valgrind.sh, and explain which is which. Review URL: http://codereview.chromium.org/42326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12093 0039d316-1c4b-4281-b951-d872f2087c98
* Add --gtest_filter option to valgrind_test.pydkegel@google.com2009-03-171-3/+5
| | | | | | | | Also exit with nonzero status if valgrind errors are found in log -- else tree is falsely shown as green. Review URL: http://codereview.chromium.org/48085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11908 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore memory leaks in valgrind builder for now.dkegel@google.com2009-03-171-1/+2
| | | | | | | | | | | We'll re-enable them once we fix more serious problems. One would think that passing --leak-check=no to valgrind would suppress leak reports, sadly, --xml=yes forces them on. Review URL: http://codereview.chromium.org/42183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11874 0039d316-1c4b-4281-b951-d872f2087c98
* Minor changes to valgrind test scripts to add running on additional unitnirnimesh@chromium.org2009-03-041-1/+3
| | | | | | | | | | | tests. LGTM-ed here: http://codereview.chromium.org/27306/show (I didn't have my @chromium.org account then) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10936 0039d316-1c4b-4281-b951-d872f2087c98
* Submitting nirnimesh's changes.jrg@chromium.org2009-02-271-38/+83
| | | | | | | | | LGTMed by Elliot Glaysher. See http://codereview.chromium.org/27079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10552 0039d316-1c4b-4281-b951-d872f2087c98
* The ubuntu version of valgrind doesn't have "--track-origins".erg@google.com2009-01-161-1/+3
| | | | | | | Review URL: http://codereview.chromium.org/18295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8152 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for per-module suppression files.erg@google.com2009-01-091-8/+12
| | | | | | | | | Also fixes a typo in logging. Review URL: http://codereview.chromium.org/17321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7837 0039d316-1c4b-4281-b951-d872f2087c98
* Make a valgrind tool in the same vein as the purify one.erg@google.com2009-01-091-0/+154
Currently supports the following commands: ./chrome_tests.sh --test base ./chrome_tests.sh --test net ./chrome_tests.sh --test ipc ./chrome_tests.sh --test unit The valgrind_*.py files are my first real big chunks of python, so any suggestions would be greatly appreciated. Review URL: http://codereview.chromium.org/16583 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7796 0039d316-1c4b-4281-b951-d872f2087c98