summaryrefslogtreecommitdiffstats
path: root/lib/librt/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-01 02:12:43 +0000
committerngie <ngie@FreeBSD.org>2015-01-01 02:12:43 +0000
commit366f16dd6a08d1eeca56a868ab58114d5d5d2069 (patch)
tree6831d62e578f1d760de0e482447663cf19e14b1a /lib/librt/tests
parent0971283da1a2343a9fa413073fcd4e1fe7d153ed (diff)
downloadFreeBSD-src-366f16dd6a08d1eeca56a868ab58114d5d5d2069.zip
FreeBSD-src-366f16dd6a08d1eeca56a868ab58114d5d5d2069.tar.gz
MFC r274578,r274580:
r274578: Add reachover Makefiles for contrib/netbsd-tests/lib/libpthread as lib/libthr/tests A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Original work by: pho Sponsored by: EMC / Isilon Storage Division r274580: Add reachover Makefiles for contrib/netbsd-tests/lib/librt A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/librt/tests')
-rw-r--r--lib/librt/tests/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/librt/tests/Makefile b/lib/librt/tests/Makefile
new file mode 100644
index 0000000..224f52e
--- /dev/null
+++ b/lib/librt/tests/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+OBJTOP= ${.OBJDIR:H:H:H}
+SRCTOP= ${.CURDIR:H:H:H}
+TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/librt
+
+TESTSDIR= ${TESTSBASE}/lib/librt
+
+DPADD+= ${LIBRT}
+LDADD+= -lrt
+
+NETBSD_ATF_TESTS_C= sched_test
+NETBSD_ATF_TESTS_C+= sem_test
+
+.include <netbsd-tests.test.mk>
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud