summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-09-06 15:29:13 +0300
committerAlexander Bokovoy <ab@samba.org>2012-09-07 12:31:42 +0200
commitdd2ab2e6793891f5a879b8f15250eb43373f015b (patch)
treed0b8e88eef95201949936942a4e00c8ea1c49fc7 /source4/torture
parentd08242c84036f118c1dfc3b0889d64d98b207e39 (diff)
downloadsamba-dd2ab2e6793891f5a879b8f15250eb43373f015b.tar.gz
samba-dd2ab2e6793891f5a879b8f15250eb43373f015b.tar.bz2
samba-dd2ab2e6793891f5a879b8f15250eb43373f015b.zip
s4-torture: dns torture test depends on AD DC build
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/dns/wscript_build17
1 files changed, 9 insertions, 8 deletions
diff --git a/source4/torture/dns/wscript_build b/source4/torture/dns/wscript_build
index 83df02fec4..674a3a0c2b 100644
--- a/source4/torture/dns/wscript_build
+++ b/source4/torture/dns/wscript_build
@@ -1,10 +1,11 @@
#!/usr/bin/env python
-bld.SAMBA_MODULE('TORTURE_DNS',
- source='dlz_bind9.c',
- subsystem='smbtorture',
- init_function='torture_dns_init',
- cflags='-DBIND_VERSION_9_8',
- deps='torture talloc torturemain dlz_bind9_for_torture',
- internal_module=True
- )
+if bld.AD_DC_BUILD_IS_ENABLED():
+ bld.SAMBA_MODULE('TORTURE_DNS',
+ source='dlz_bind9.c',
+ subsystem='smbtorture',
+ init_function='torture_dns_init',
+ cflags='-DBIND_VERSION_9_8',
+ deps='torture talloc torturemain dlz_bind9_for_torture',
+ internal_module=True
+ )