summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-07-05 10:08:49 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-07-05 17:54:10 +0200
commit25ef27b2e6d80f0afa271e73a195caa2105be648 (patch)
treea6708e29e786b81162fb8b139c1c82df266b97c2 /wscript
parente3707c1b19a27d431722e1b355dc39a39f7f8f1c (diff)
downloadsamba-25ef27b2e6d80f0afa271e73a195caa2105be648.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>
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 47d020b1223..e80f7663bbd 100644
--- a/wscript
+++ b/wscript
@@ -195,6 +195,7 @@ def configure(conf):
if Options.options.with_ntvfs_fileserver == False:
if not (Options.options.without_ad_dc):
raise Utils.WafError('--without-ntvfs-fileserver conflicts with --enable-selftest while building the AD DC')
+ conf.RECURSE('testsuite/unittests')
if Options.options.with_ntvfs_fileserver == True:
if Options.options.without_ad_dc:
@@ -214,7 +215,6 @@ def configure(conf):
if conf.env.with_ctdb:
conf.RECURSE('ctdb')
conf.RECURSE('lib/socket')
- conf.RECURSE('testsuite/unittests')
conf.RECURSE('auth')
conf.SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS()