From ae5bf924106de21307a29641aa024234d7b1f117 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Tue, 23 Jul 2024 19:31:22 -0700 Subject: [PATCH] sys_socket tests: Define macros necessary for tests (regr. 2024-07-22). * modules/sys_socket-tests (configure.ac): Invoke gl_SOCKET_FAMILIES. --- ChangeLog | 3 +++ modules/sys_socket-tests | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index cf51073474..3730873e91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2024-07-23 Collin Funk + sys_socket tests: Define macros necessary for tests (regr. 2024-07-22). + * modules/sys_socket-tests (configure.ac): Invoke gl_SOCKET_FAMILIES. + sys_socket tests: Improve checks for socklen_t and sa_family_t. * modules/sys_socket-tests (Depends-on): Add intprops. * tests/test-sys_socket.c: Check that socklen_t is at least 32 bits diff --git a/modules/sys_socket-tests b/modules/sys_socket-tests index 0e0ef6c45e..d55b9ce51b 100644 --- a/modules/sys_socket-tests +++ b/modules/sys_socket-tests @@ -8,6 +8,7 @@ sys_socket-c++-tests configure.ac: AC_CHECK_FUNCS_ONCE([shutdown]) +gl_SOCKET_FAMILIES Makefile.am: TESTS += test-sys_socket -- 2.39.5