dd4c0b5a6c
It turns out that a test of backtrace symbol resolution and formatting requires symbols. Another option mightt be building with -rdynamic instead, but this works for now. Re-enabled skipped CI test, as it should now pass. PR: 241562 Submitted by: lwhsu Reported by: lwhsu X-MFC-With: r354126, r354135, r354144
22 lines
520 B
Makefile
22 lines
520 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
|
|
|
|
LIBADD.backtrace_test+= execinfo
|
|
|
|
.include <netbsd-tests.test.mk>
|
|
|
|
.include <bsd.test.mk>
|