mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Unskip test cases from netbsd-tests by defining __HAVE_FENV
This unskips: - lib.libc.stdlib.strtod_test.strtod_round - lib.msun.fe_round_test.t_nofe_round In lib/msun/tests/Makefile only define on fe_round_test.c because lib.msun.ilogb_test.ilogb will get wrong results and needs more examination. MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
c4bf2f169a
commit
24612bfd1f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351648
@ -14,6 +14,9 @@ ATF_TESTS_CXX+= cxa_thread_atexit_test
|
|||||||
ATF_TESTS_CXX+= cxa_thread_atexit_nothr_test
|
ATF_TESTS_CXX+= cxa_thread_atexit_nothr_test
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
# All architectures on FreeBSD have fenv.h
|
||||||
|
CFLAGS+= -D__HAVE_FENV
|
||||||
|
|
||||||
# Not sure why this isn't defined for all architectures, since most
|
# Not sure why this isn't defined for all architectures, since most
|
||||||
# have long double.
|
# have long double.
|
||||||
.if ${MACHINE_CPUARCH} == "aarch64" || \
|
.if ${MACHINE_CPUARCH} == "aarch64" || \
|
||||||
|
@ -99,6 +99,8 @@ ARCH_SUBDIR= ${MACHINE_CPUARCH}
|
|||||||
# precision is.
|
# precision is.
|
||||||
CFLAGS+= -DLDBL_PREC=${LDBL_PREC}
|
CFLAGS+= -DLDBL_PREC=${LDBL_PREC}
|
||||||
|
|
||||||
|
CFLAGS.fe_round_test+= -D__HAVE_FENV
|
||||||
|
|
||||||
.include <netbsd-tests.test.mk>
|
.include <netbsd-tests.test.mk>
|
||||||
|
|
||||||
.include <bsd.test.mk>
|
.include <bsd.test.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user