freebsd-dev/lib/libc/tests/stdio/Makefile
Enji Cooper 3e86c1081d printfloat_test and scanfloat_test need symbols from msun; these are automatically
provided on amd64, but not i386. Add libm to DPADD/LDADD to unbreak the i386
tinderbox

Pointyhat to: ngie
MFC after: 1 week
X-MFC with: r290538
Sponsored by: EMC / Isilon Storage Division
2015-11-08 08:27:51 +00:00

38 lines
920 B
Makefile

# $FreeBSD$
ATF_TESTS_C+= fdopen_test
ATF_TESTS_C+= fmemopen2_test
ATF_TESTS_C+= fopen2_test
ATF_TESTS_C+= freopen_test
ATF_TESTS_C+= getdelim_test
ATF_TESTS_C+= mkostemp_test
ATF_TESTS_C+= open_memstream_test
ATF_TESTS_C+= open_wmemstream_test
ATF_TESTS_C+= perror_test
ATF_TESTS_C+= print_positional_test
ATF_TESTS_C+= printbasic_test
ATF_TESTS_C+= printfloat_test
ATF_TESTS_C+= scanfloat_test
SRCS.fopen2_test= fopen_test.c
NETBSD_ATF_TESTS_C= clearerr_test
NETBSD_ATF_TESTS_C+= fflush_test
NETBSD_ATF_TESTS_C+= fmemopen_test
NETBSD_ATF_TESTS_C+= fopen_test
NETBSD_ATF_TESTS_C+= fputc_test
NETBSD_ATF_TESTS_C+= mktemp_test
NETBSD_ATF_TESTS_C+= popen_test
NETBSD_ATF_TESTS_C+= printf_test
NETBSD_ATF_TESTS_C+= scanf_test
DPADD.printfloat_test+= ${LIBM}
LDADD.printfloat_test+= -lm
DPADD.scanfloat_test+= ${LIBM}
LDADD.scanfloat_test+= -lm
.include "../Makefile.netbsd-tests"
.include <bsd.test.mk>