mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
ctdb-build: Don't build/install tests in top-level build by default
The standalone build still includes tests, as does the top-level build when --enable-selftest is used. The latter is consistent with the use of --enable-selftest in the rest of the tree. Signed-off-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
da1103dbdc
commit
91c36c16c8
@ -868,6 +868,13 @@ def build(bld):
|
||||
for d in ['volatile', 'persistent', 'state']:
|
||||
bld.INSTALL_DIR(os.path.join(bld.env.CTDB_VARDIR, d))
|
||||
|
||||
#
|
||||
# Test-only below this point
|
||||
#
|
||||
|
||||
if not bld.env.standalone_ctdb and not bld.CONFIG_GET('ENABLE_SELFTEST'):
|
||||
return
|
||||
|
||||
bld.SAMBA_BINARY('errcode',
|
||||
source='tests/src/errcode.c',
|
||||
deps='replace',
|
||||
|
Loading…
Reference in New Issue
Block a user