summaryrefslogtreecommitdiff
path: root/selftest/wscript
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-11-03 13:22:38 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-12-18 06:47:40 +0100
commit30cc2e7755074758a16fcf2a8d818321ee0b4021 (patch)
tree433fa3d9a83f1f8dddff3dea5830e8f15c89ddd3 /selftest/wscript
parent1292d513c1274a714c22da0781428859249cee26 (diff)
downloadsamba-30cc2e7755074758a16fcf2a8d818321ee0b4021.tar.gz
selftest: Define if we should fake dns resolving.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/wscript')
-rw-r--r--selftest/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/wscript b/selftest/wscript
index fd3c89a0f3b..94232d3aac1 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -215,6 +215,9 @@ def cmd_testonly(opt):
env.OPTIONS += " --socket_wrapper_so_path=" + CONFIG_GET(opt, 'LIBSOCKET_WRAPPER_SO_PATH')
env.OPTIONS += " --uid_wrapper_so_path=" + CONFIG_GET(opt, 'LIBUID_WRAPPER_SO_PATH')
+ if unversioned_sys_platform in ('freebsd', 'netbsd', 'openbsd', 'sunos'):
+ env.OPTIONS += " --use-dns-faking"
+
subunit_cache = None
# We use the full path rather than relative path to avoid problems on some platforms (ie. solaris 8).
env.CORE_COMMAND = '${PERL} ${srcdir}/selftest/selftest.pl --target=${SELFTEST_TARGET} --prefix=${SELFTEST_PREFIX} --srcdir=${srcdir} --exclude=${srcdir}/selftest/skip ${TESTLISTS} ${OPTIONS} ${TESTS}'