Skip to content

Commit cf704e1

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/inet/tests/TestInetEndPoint.cpp

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

5050
#define TOOL_NAME "TestInetEndPoint"
5151

52+
#if CHIP_SYSTEM_CONFIG_USE_SOCKETS
53+
54+
5255
bool callbackHandlerCalled = false;
5356

5457
void HandleDNSResolveComplete(void * appState, CHIP_ERROR err, uint8_t addrCount, IPAddress * addrArray)
@@ -443,4 +446,5 @@ TEST_F(TestInetEndPoint, TestInetEndPointLimit)
443446
ShutdownNetwork();
444447
ShutdownSystemLayer();
445448
}
446-
#endif
449+
#endif // !CHIP_SYSTEM_CONFIG_POOL_USE_HEAP
450+
#endif //CHIP_SYSTEM_CONFIG_USE_SOCKETS

0 commit comments

Comments
 (0)