summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests/resolv/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-30 16:21:07 -0200
committerRenato Botelho <renato@netgate.com>2015-12-30 16:21:07 -0200
commitd8ff3484131f428fcc0727cd504acb5050a36490 (patch)
tree8adfbb5b779f497e621d29277fcbe1536012eeb0 /lib/libc/tests/resolv/Makefile
parent0319542cc712df59c57f014b4f925f516bcb5b4b (diff)
parentecf8336fcdf81e2aeb30a7ab82841dd7299ceb98 (diff)
downloadFreeBSD-src-d8ff3484131f428fcc0727cd504acb5050a36490.zip
FreeBSD-src-d8ff3484131f428fcc0727cd504acb5050a36490.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
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