From: Andreas Schneider Date: Thu, 22 Oct 2020 15:40:01 +0000 (+0200) Subject: buildtools: Do not install binaries which are for selftest X-Git-Tag: talloc-2.3.2~135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8fa0d3331b2b2c450d86bffec0a6f39320fcb8c0;p=thirdparty%2Fsamba.git buildtools: Do not install binaries which are for selftest BUG: https://bugzilla.samba.org/show_bug.cgi?id=14550 Signed-off-by: Andreas Schneider Reviewed-by: Alexander Bokovoy --- diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 9f6ee4f5c7f..9dd6d05b91b 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -365,8 +365,10 @@ def SAMBA_BINARY(bld, binname, source, for_selftest=False): '''define a Samba binary''' - if for_selftest and not bld.CONFIG_GET('ENABLE_SELFTEST'): - enabled=False + if for_selftest: + install=False + if not bld.CONFIG_GET('ENABLE_SELFTEST'): + enabled=False if not enabled: SET_TARGET_TYPE(bld, binname, 'DISABLED')