summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 18:47:17 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 18:47:17 +0000
commitd02bb0e525eddeb024f262ad509389956d6f548a (patch)
treec54aa88d946d900e15441c23e720bd92dfa333e8
parente131e28953a844ecfaefee1d040740a1cd9f6d08 (diff)
downloadchromium_src-d02bb0e525eddeb024f262ad509389956d6f548a.zip
chromium_src-d02bb0e525eddeb024f262ad509389956d6f548a.tar.gz
chromium_src-d02bb0e525eddeb024f262ad509389956d6f548a.tar.bz2
Heapcheck: Don't run net_unittests that simulate crashes.
BUG=53141 TEST=none Review URL: http://codereview.chromium.org/3159035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57209 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/data/heapcheck/net_unittests.gtest.txt14
-rw-r--r--tools/heapcheck/suppressions.txt48
2 files changed, 14 insertions, 48 deletions
diff --git a/net/data/heapcheck/net_unittests.gtest.txt b/net/data/heapcheck/net_unittests.gtest.txt
index 6256a7d..afc1db3 100644
--- a/net/data/heapcheck/net_unittests.gtest.txt
+++ b/net/data/heapcheck/net_unittests.gtest.txt
@@ -7,3 +7,17 @@ URLRequestTestHTTP.*
# suppressions. So just skip the tests until we can figure out how to get
# stacks, or a fixed release of NSS.
CertDatabaseNSSTest.ImportFromPKCS12*
+# Exclude tests that simulate a crash: they leak a lot of stuff.
+# Note that *InvalidEntry* is too general.
+DiskCacheBackendTest.InvalidEntry
+DiskCacheBackendTest.NewEvictionInvalidEntry
+DiskCacheBackendTest.InvalidEntryRead
+DiskCacheBackendTest.NewEvictionInvalidEntryRead
+DiskCacheBackendTest.InvalidEntryWithLoad
+DiskCacheBackendTest.NewEvictionInvalidEntryWithLoad
+DiskCacheBackendTest.TrimInvalidEntry
+DiskCacheBackendTest.NewEvictionTrimInvalidEntry
+DiskCacheBackendTest.TrimInvalidEntry2
+DiskCacheBackendTest.NewEvictionTrimInvalidEntry2
+DiskCacheBackendTest.InvalidEntryEnumeration
+DiskCacheBackendTest.NewEvictionInvalidEntryEnumeration
diff --git a/tools/heapcheck/suppressions.txt b/tools/heapcheck/suppressions.txt
index 1270e27..6c579c0 100644
--- a/tools/heapcheck/suppressions.txt
+++ b/tools/heapcheck/suppressions.txt
@@ -85,42 +85,6 @@
fun:ToolsSanityTest_MemoryLeak_Test::TestBody
}
{
- Intentional leak in DiskCacheBackendTest::BackendInvalidEntry
- Heapcheck:Leak
- ...
- fun:DiskCacheBackendTest::BackendInvalidEntry
-}
-{
- Intentional leak in DiskCacheBackendTest::BackendInvalidEntryRead
- Heapcheck:Leak
- ...
- fun:DiskCacheBackendTest::BackendInvalidEntryRead
-}
-{
- Intentional leak in DiskCacheBackendTest::BackendInvalidEntryWithLoad
- Heapcheck:Leak
- ...
- fun:DiskCacheBackendTest::BackendInvalidEntryWithLoad
-}
-{
- Intentional leak in DiskCacheBackendTest::BackendTrimInvalidEntry
- Heapcheck:Leak
- ...
- fun:DiskCacheBackendTest::BackendTrimInvalidEntry
-}
-{
- Intentional leak in DiskCacheBackendTest::BackendTrimInvalidEntry2
- Heapcheck:Leak
- ...
- fun:DiskCacheBackendTest::BackendTrimInvalidEntry2
-}
-{
- Intentional leak in DiskCacheBackendTest::BackendInvalidEntryEnumeration
- Heapcheck:Leak
- ...
- fun:DiskCacheBackendTest::BackendInvalidEntryEnumeration
-}
-{
Intentional leak in ChromeThreadTest.NotReleasedIfTargetThreadNonExistent
Heapcheck:Leak
fun:ChromeThreadTest_NotReleasedIfTargetThreadNonExistent_Test::TestBody
@@ -963,18 +927,6 @@
fun:ExtensionsServiceTest_CleanupOnStartup_Test::TestBody
}
{
- bug_53141
- Heapcheck:Leak
- ...
- fun:disk_cache::EntryImpl::PrepareTarget
- fun:disk_cache::EntryImpl::WriteDataImpl
- fun:disk_cache::BackendIO::ExecuteEntryOperation
- fun:disk_cache::BackendIO::ExecuteOperation
- fun:void DispatchToMethod
- fun:RunnableMethod::Run
- fun:MessageLoop::RunTask
-}
-{
bug_53184
Heapcheck:Leak
fun:base::WaitableEventWatcher::StartWatching