diff options
author | Andreas Schneider <asn@samba.org> | 2017-07-05 10:08:49 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2017-07-13 07:41:24 +0200 |
commit | 21f94775f0d33c1fee4702af43c684261f5c1c16 (patch) | |
tree | d3137abb8e7e17732b58607c1bd3e56aa7d66562 /wscript_build | |
parent | fdd1dc7b71404c5a84352d8611edd6ab18d773c1 (diff) | |
download | samba-21f94775f0d33c1fee4702af43c684261f5c1c16.tar.gz |
waf: Only build unit tests with selftest enabled
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12877
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit 25ef27b2e6d80f0afa271e73a195caa2105be648)
Diffstat (limited to 'wscript_build')
-rw-r--r-- | wscript_build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript_build b/wscript_build index 2ddcdcc8557..8758b6d5789 100644 --- a/wscript_build +++ b/wscript_build @@ -124,7 +124,8 @@ bld.RECURSE('libcli/samsync') bld.RECURSE('libcli/registry') bld.RECURSE('source4/lib/policy') bld.RECURSE('libcli/named_pipe_auth') -bld.RECURSE('testsuite/unittests') +if bld.CONFIG_GET('ENABLE_SELFTEST'): + bld.RECURSE('testsuite/unittests') if bld.CONFIG_GET('KRB5_VENDOR') in (None, 'heimdal'): if bld.CONFIG_GET("HEIMDAL_KRB5_CONFIG") and bld.CONFIG_GET("USING_SYSTEM_KRB5"): |