mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
libexecinfo: Integrate NetBSD test into FreeBSD
This commit is contained in:
parent
f0297f121a
commit
43e9023f2d
3 changed files with 23 additions and 2 deletions
|
|
@ -384,6 +384,8 @@
|
|||
..
|
||||
libdevdctl
|
||||
..
|
||||
libexecinfo
|
||||
..
|
||||
libkvm
|
||||
..
|
||||
libmp
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -21,4 +22,7 @@ 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>
|
||||
|
|
|
|||
15
lib/libexecinfo/tests/Makefile
Normal file
15
lib/libexecinfo/tests/Makefile
Normal file
|
|
@ -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>
|
||||
Loading…
Reference in a new issue