summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests/resolv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/tests/resolv/Makefile')
-rw-r--r--lib/libc/tests/resolv/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/libc/tests/resolv/Makefile b/lib/libc/tests/resolv/Makefile
new file mode 100644
index 0000000..c6d9900
--- /dev/null
+++ b/lib/libc/tests/resolv/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+TESTSDIR= ${TESTSBASE}/lib/libc/resolv
+BINDIR= ${TESTSDIR}
+
+FILES+= mach
+
+ATF_TESTS_C+= resolv_test
+
+# Note: this test relies on being dynamically linked. You will get a
+# spurious PASS for a statically linked test.
+DPADD.resolv_test+= ${LIBPTHREAD}
+LDADD.resolv_test+= -lpthread
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud