Remove leaking aecdump testfiles.
Also removes tracing to file in ApmTest because it leads to remaining
files.
BUG=4258
R=bjornv@webrtc.org, kjellander@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/52469004
Cr-Commit-Position: refs/heads/master@{#9175}
diff --git a/webrtc/modules/audio_processing/test/audio_processing_unittest.cc b/webrtc/modules/audio_processing/test/audio_processing_unittest.cc
index e5c3865..892927f 100644
--- a/webrtc/modules/audio_processing/test/audio_processing_unittest.cc
+++ b/webrtc/modules/audio_processing/test/audio_processing_unittest.cc
@@ -324,9 +324,6 @@
static void SetUpTestCase() {
Trace::CreateTrace();
- std::string trace_filename =
- test::TempFilename(test::OutputPath(), "audioproc_trace");
- ASSERT_EQ(0, Trace::SetTraceFile(trace_filename.c_str()));
}
static void TearDownTestCase() {
@@ -1745,6 +1742,8 @@
EXPECT_NE(0, feof(out_file));
ASSERT_EQ(0, fclose(ref_file));
ASSERT_EQ(0, fclose(out_file));
+ remove(ref_filename.c_str());
+ remove(out_filename.c_str());
}
TEST_F(ApmTest, VerifyDebugDumpInt) {