mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
6107c79c90
Add new for_selftest option to SAMBA_BINARY() and SAMBA3_BINARY() This allows us to be much more consistent (at least in the core Samba) and documents clearly why the binary should not be installed. Not modified are - test_lp_load - notifyd-tests - gendrandperf - test* from examples/libsmbclient - dbwrap_torture - split_tokens - locktest2 - msgtest - msg_sink - msg_source - versiontest - rpc_open_tcp - test_headers As these are not tested in selftest so any change would also be untested. Of course they probably should be added in a different MR. Also not modified (because they are not tests, nor part of the build system) are: - smb2mount - notifydd - log2pacp - debug2html - smbfilter - destroy_netlogon_creds_cli - spotlight2* - tevent_glib_tracker These do however appear to be untested. For now, the source4 forked client tools are left unchanged: - smbclient4 - nmblookup4 Finally, the heimdal binaries are left as install=False as they are either part of the build system or end-user tools that we just don't want to install. These are however tested. The motivation is commit likec34ec003b7
andda87fa998a
, which are both totally correct but are not needed if the selftest is not run on MacOS. There are likely other platforms or build environments where building our test binaries is more pain than valuable, see for example also https://lists.samba.org/archive/samba/2019-November/227137.html Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org> Autobuild-User(master): Isaac Boukris <iboukris@samba.org> Autobuild-Date(master): Fri Nov 22 11:48:59 UTC 2019 on sn-devel-184
15 lines
334 B
Python
15 lines
334 B
Python
#!/usr/bin/env python
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBASYNC_REQ',
|
|
source='async_sock.c',
|
|
public_deps='talloc tevent iov_buf',
|
|
deps='tevent-util socket-blocking'
|
|
)
|
|
|
|
bld.SAMBA_BINARY('async_connect_send_test',
|
|
source='async_connect_send_test.c',
|
|
deps='LIBASYNC_REQ',
|
|
for_selftest=True
|
|
)
|