opnsense-src/lib/libexecinfo/tests/Makefile
Dmitry Chagin df1ea58873 tests: Test libexecinfo backtrace call througth signal trampoline
It should fails on Aarch64 until https://reviews.llvm.org/D155066
is not merged.

Reviewed by:
Differential Revision:	https://reviews.freebsd.org/D41129
2023-07-28 12:10:27 +03:00

24 lines
582 B
Makefile

# $FreeBSD$
PACKAGE= tests
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libexecinfo
.include <bsd.own.mk>
# Perhaps not surprisingly, the backtrace symbol test needs symbols. Leave
# them in:
STRIP=
# It could probably be made to work without symbols by checking pointer values
# instead, but part of the tested functionality is the symbol resolution logic,
# so that doesn't seem useful.
NETBSD_ATF_TESTS_C+= backtrace_test
ATF_TESTS_C+= sigtramp_test
LIBADD.backtrace_test+= execinfo
LIBADD.sigtramp_test+= execinfo
.include <netbsd-tests.test.mk>
.include <bsd.test.mk>