From 742e28cb064a51055199e332aee0f43bd499105a Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 2 May 2024 14:15:50 -0400 Subject: [PATCH] Re-enable the leak detection in MTRTestCase, now that the test leaks are fixed. --- src/darwin/Framework/CHIPTests/TestHelpers/MTRTestCase.mm | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/darwin/Framework/CHIPTests/TestHelpers/MTRTestCase.mm b/src/darwin/Framework/CHIPTests/TestHelpers/MTRTestCase.mm index b4cf92b1ee3322..1dd1fea675b46c 100644 --- a/src/darwin/Framework/CHIPTests/TestHelpers/MTRTestCase.mm +++ b/src/darwin/Framework/CHIPTests/TestHelpers/MTRTestCase.mm @@ -27,7 +27,6 @@ @implementation MTRTestCase */ - (void)tearDown { -#if 0 #if defined(ENABLE_LEAK_DETECTION) && ENABLE_LEAK_DETECTION if (_detectLeaks) { int pid = getpid(); @@ -35,7 +34,6 @@ - (void)tearDown int ret = system(cmd.UTF8String); XCTAssertEqual(ret, 0, "LEAKS DETECTED"); } -#endif #endif [super tearDown];