diff --git a/tools/lsan/OWNERS b/tools/lsan/OWNERS deleted file mode 100644 index 72e8ffc0db..0000000000 --- a/tools/lsan/OWNERS +++ /dev/null @@ -1 +0,0 @@ -* diff --git a/tools/lsan/PRESUBMIT.py b/tools/lsan/PRESUBMIT.py deleted file mode 100644 index 007797ea34..0000000000 --- a/tools/lsan/PRESUBMIT.py +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env python -# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. -# -# Use of this source code is governed by a BSD-style license -# that can be found in the LICENSE file in the root of the source -# tree. An additional intellectual property rights grant can be found -# in the file PATENTS. All contributing project authors may -# be found in the AUTHORS file in the root of the source tree. - -""" -Copied from Chrome's src/tools/lsan/PRESUBMIT.py - -See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts -for more details on the presubmit API built into gcl. -""" - -import re - -def CheckChange(input_api, output_api): - errors = [] - - for f in input_api.AffectedFiles(): - if not f.LocalPath().endswith('suppressions.txt'): - continue - for line_num, line in enumerate(f.NewContents()): - line = line.strip() - if line.startswith('#') or not line: - continue - if not line.startswith('leak:'): - errors.append('"%s" should be "leak:..." in %s line %d' % - (line, f.LocalPath(), line_num)) - if errors: - return [output_api.PresubmitError('\n'.join(errors))] - return [] - -def CheckChangeOnUpload(input_api, output_api): - return CheckChange(input_api, output_api) - -def CheckChangeOnCommit(input_api, output_api): - return CheckChange(input_api, output_api) - -def GetPreferredTrySlaves(): - return ['linux_asan'] diff --git a/tools/lsan/suppressions.txt b/tools/lsan/suppressions.txt deleted file mode 100644 index a7d5c8a9f7..0000000000 --- a/tools/lsan/suppressions.txt +++ /dev/null @@ -1,92 +0,0 @@ -# This is a suppressions file that must exist in order for the Leak Sanitizer -# (LSan) bot to be able to run with the default configuration. -# More info about LSan on -# http://www.chromium.org/developers/testing/leaksanitizer - -#### Third-party leaks #### - -# Leak reported in libstdc++ -leak:std::string::_Rep::_S_create - -# False positives in libfontconfig. http://crbug.com/39050 -leak:libfontconfig - -# Leaks in Nvidia's libGL. -leak:libGL.so - -# XRandR has several one time leaks. -leak:libxrandr - -# The NSS suppressions above will not fire when the fast stack unwinder is used, -# because it can't unwind through NSS libraries. Apply blanket suppressions for -# now. -leak:libnssutil3 -leak:libnspr4 -leak:libnss3 -leak:libplds4 -leak:libnssckbi - -# xrandr leak. http://crbug.com/119677 -leak:XRRFindDisplay - -#### Actual bugs in WebRTC code #### - -# rtc_unittest -# https://code.google.com/p/webrtc/issues/detail?id=3827 for details. -leak:rtc::unstarted_task_test_DoNotDeleteTask2_Test::TestBody -leak:rtc::HttpServer::HandleConnection -leak:rtc::HttpServer::Connection::onHttpHeaderComplete -leak:rtc::HttpResponseData::set_success -leak:rtc::HttpData::changeHeader -# https://code.google.com/p/webrtc/issues/detail?id=4149 for details. -leak:StartDNSLookup - -# libjingle_media_unittest -# https://code.google.com/p/webrtc/issues/detail?id= -leak:cricket::FakeNetworkInterface::SetOption -leak:CodecTest_TestCodecOperators_Test::TestBody -leak:VideoEngineTest*::ConstrainNewCodecBody -leak:VideoMediaChannelTest*::AddRemoveRecvStreams -leak:WebRtcVideoCapturerTest_TestCapture_Test::TestBody -leak:WebRtcVideoEngineTestFake_MultipleSendStreamsWithOneCapturer_Test::TestBody -leak:WebRtcVideoEngineTestFake_SetBandwidthInConference_Test::TestBody -leak:WebRtcVideoEngineTestFake_SetSendCodecsRejectBadFormat_Test::TestBody - -# libjingle_peerconnection_unittest -# https://code.google.com/p/webrtc/issues/detail?id=2528 -leak:cricket::FakeVideoMediaChannel::~FakeVideoMediaChannel -leak:cricket::MediaSessionDescriptionFactory::CreateAnswer -leak:cricket::MediaSessionDescriptionFactory::CreateOffer -leak:DtmfSenderTest_InsertEmptyTonesToCancelPreviousTask_Test::TestBody -leak:sigslot::_signal_base2*::~_signal_base2 -leak:testing::internal::CmpHelperEQ -leak:webrtc::AudioDeviceLinuxALSA::InitMicrophone -leak:webrtc::AudioDeviceLinuxALSA::InitSpeaker -leak:webrtc::CreateIceCandidate -leak:webrtc::FakeConstraints::AddOptional -leak:webrtc::WebRtcIdentityRequestObserver::OnSuccess -leak:webrtc::WebRtcSessionDescriptionFactory::InternalCreateAnswer -leak:webrtc::WebRtcSessionDescriptionFactory::InternalCreateOffer -leak:PeerConnectionInterfaceTest_SsrcInOfferAnswer_Test::TestBody -leak:PeerConnectionInterfaceTest_CloseAndTestMethods_Test::TestBody -leak:WebRtcSdpTest::TestDeserializeRtcpFb -leak:WebRtcSdpTest::TestSerialize -leak:WebRtcSdpTest_SerializeSessionDescriptionWithDataChannelAndBandwidth_Test::TestBody -leak:WebRtcSdpTest_SerializeSessionDescriptionWithBandwidth_Test::TestBody -leak:WebRtcSessionTest::SetLocalDescriptionExpectError -leak:WebRtcSessionTest_TestAVOfferWithAudioOnlyAnswer_Test::TestBody - -# libjingle_unittest -# https://code.google.com/p/webrtc/issues/detail?id=2527 -leak:buzz::FakeXmppClient::SendStanza -leak:buzz::XmppTask::XmppTask -leak:HangoutPubSubClientTest::HangoutPubSubClientTest -leak:MucRoomConfigTaskTest::SetUp -leak:MucRoomDiscoveryTaskTest::SetUp -leak:MucRoomLookupTaskTest::SetUp -leak:MucRoomUniqueHangoutIdTaskTest::SetUp -leak:PingTaskTest::SetUp -leak:PingXmppClient::SendStanza -leak:PubSubClientTest::PubSubClientTest -leak:PubSubTasksTest::PubSubTasksTest -