1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00
samba-mirror/lib/tsocket/wscript_build
Andrew Bartlett f0fb8b9508 lib/tsocket: Add tests for loop on EAGAIN
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15202

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2022-10-19 16:14:36 +00:00

22 lines
664 B
Python

#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('LIBTSOCKET',
source='tsocket.c tsocket_helpers.c tsocket_bsd.c',
public_deps='talloc tevent iov_buf socket-blocking',
public_headers='tsocket.h tsocket_internal.h',
)
bld.SAMBA_BINARY('test_tsocket_bsd_addr',
source='tests/test_bsd_addr.c',
deps='cmocka replace LIBTSOCKET',
local_include=False,
for_selftest=True)
bld.SAMBA_BINARY('test_tstream',
source='tests/test_tstream.c tests/socketpair_tcp.c',
deps='cmocka replace LIBTSOCKET',
local_include=False,
for_selftest=True)