diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 18:18:35 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 18:18:35 +0000 |
commit | 75285657b7c8c08383243184c21c340a986b9e21 (patch) | |
tree | ccf0c6b260d5203024727542b1677e87a29e33f0 /tools/valgrind/valgrind_test.py | |
parent | ba138bcf2d8adfb9e67c2e493e60ea22baa83108 (diff) | |
download | chromium_src-75285657b7c8c08383243184c21c340a986b9e21.zip chromium_src-75285657b7c8c08383243184c21c340a986b9e21.tar.gz chromium_src-75285657b7c8c08383243184c21c340a986b9e21.tar.bz2 |
- Add support for platform specific suppression files for Valgrind
- 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
Diffstat (limited to 'tools/valgrind/valgrind_test.py')
-rwxr-xr-x | tools/valgrind/valgrind_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/valgrind/valgrind_test.py b/tools/valgrind/valgrind_test.py index 2a07755..04d6bc6 100755 --- a/tools/valgrind/valgrind_test.py +++ b/tools/valgrind/valgrind_test.py @@ -53,7 +53,7 @@ class Valgrind(object): self._parser.add_option("", "--source_dir", help="path to top of source tree for this build" "(used to normalize source paths in baseline)") - self._parser.add_option("", "--suppressions", default=["."], + self._parser.add_option("", "--suppressions", default=[], action="append", help="path to a valgrind suppression file") self._parser.add_option("", "--gtest_filter", default="", @@ -141,7 +141,7 @@ class Valgrind(object): return True def RunTestsAndAnalyze(self): - self.PrepareForTest() +#self.PrepareForTest() self.Execute() if self._generate_suppressions: |