summaryrefslogtreecommitdiff
path: root/selftest/wscript
diff options
context:
space:
mode:
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}'