Skip to content

Commit 0efddcd

Browse files
committed
only run TestInetEndPoint when CHIP_SYSTEM_CONFIG_USE_SOCKETS 1
1 parent c073eb3 commit 0efddcd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/inet/tests/TestInetEndPoint.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ using namespace chip::System::Clock::Literals;
4949

5050
#define TOOL_NAME "TestInetEndPoint"
5151

52+
#if CHIP_SYSTEM_CONFIG_USE_SOCKETS
53+
5254
bool callbackHandlerCalled = false;
5355

5456
void HandleDNSResolveComplete(void * appState, CHIP_ERROR err, uint8_t addrCount, IPAddress * addrArray)
@@ -443,4 +445,5 @@ TEST_F(TestInetEndPoint, TestInetEndPointLimit)
443445
ShutdownNetwork();
444446
ShutdownSystemLayer();
445447
}
446-
#endif
448+
#endif // !CHIP_SYSTEM_CONFIG_POOL_USE_HEAP
449+
#endif // CHIP_SYSTEM_CONFIG_USE_SOCKETS

0 commit comments

Comments
 (0)