svn commit: r354126 - in head: etc/mtree lib/libexecinfo lib/libexecinfo/tests
Conrad Meyer
cem at FreeBSD.org
Sun Oct 27 05:32:09 UTC 2019
Author: cem
Date: Sun Oct 27 05:32:08 2019
New Revision: 354126
URL: https://svnweb.freebsd.org/changeset/base/354126
Log:
libexecinfo: Integrate NetBSD test into FreeBSD
Added:
head/lib/libexecinfo/tests/
head/lib/libexecinfo/tests/Makefile (contents, props changed)
Modified:
head/etc/mtree/BSD.tests.dist
head/lib/libexecinfo/Makefile
Modified: head/etc/mtree/BSD.tests.dist
==============================================================================
--- head/etc/mtree/BSD.tests.dist Sun Oct 27 04:10:49 2019 (r354125)
+++ head/etc/mtree/BSD.tests.dist Sun Oct 27 05:32:08 2019 (r354126)
@@ -384,6 +384,8 @@
..
libdevdctl
..
+ libexecinfo
+ ..
libkvm
..
libmp
Modified: head/lib/libexecinfo/Makefile
==============================================================================
--- head/lib/libexecinfo/Makefile Sun Oct 27 04:10:49 2019 (r354125)
+++ head/lib/libexecinfo/Makefile Sun Oct 27 05:32:08 2019 (r354126)
@@ -1,12 +1,13 @@
# $FreeBSD$
PACKAGE=lib${LIB}
-LIBEXECINFO= ${SRCTOP}/contrib/libexecinfo
+.include <src.opts.mk>
+
LIB= execinfo
SHLIB_MAJOR= 1
-.PATH: ${LIBEXECINFO}
+.PATH: ${SRCTOP}/contrib/libexecinfo
INCS= execinfo.h
SRCS= backtrace.c symtab.c unwind.c
@@ -20,5 +21,8 @@ MLINKS+= backtrace.3 backtrace_symbols.3
MLINKS+= backtrace.3 backtrace_symbols_fmt.3
MLINKS+= backtrace.3 backtrace_symbols_fd.3
MLINKS+= backtrace.3 backtrace_symbols_fd_fmt.3
+
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
Added: head/lib/libexecinfo/tests/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/libexecinfo/tests/Makefile Sun Oct 27 05:32:08 2019 (r354126)
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+PACKAGE= tests
+
+TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libexecinfo
+
+.include <bsd.own.mk>
+
+NETBSD_ATF_TESTS_C+= backtrace_test
+
+LIBADD.backtrace_test+= execinfo
+
+.include <netbsd-tests.test.mk>
+
+.include <bsd.test.mk>
More information about the svn-src-head
mailing list