summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-04-14 04:40:31 +0000
committerngie <ngie@FreeBSD.org>2016-04-14 04:40:31 +0000
commitaccce1712baaadd9b0391b853eafb19505a53991 (patch)
tree7dad78c852d393cccb210ed97759ff511c711250 /lib/msun
parente1c7eb93ffb1ea8c807245a8c8d50055e8835d5b (diff)
downloadFreeBSD-src-accce1712baaadd9b0391b853eafb19505a53991.zip
FreeBSD-src-accce1712baaadd9b0391b853eafb19505a53991.tar.gz
Disable fmaxmin_test when compiling it with clang 3.8.0
The testcase always fails today due to how C11 7.6.1/2 is interpreted with clang 3.8.0 when combined with "#pragma STDC FENV_ACCESS ON". This testcase passes with clang <3.8.0 and gcc, so continue testing it with those compiler combinations More intelligent discussion on the issue is in the PR MFC after: never PR: 208703 Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/tests/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/msun/tests/Makefile b/lib/msun/tests/Makefile
index b18c07d..5dc280b 100644
--- a/lib/msun/tests/Makefile
+++ b/lib/msun/tests/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libm
# All architectures on FreeBSD have fenv.h
@@ -47,7 +49,10 @@ TAP_TESTS_C+= ctrig_test
TAP_TESTS_C+= exponential_test
TAP_TESTS_C+= fenv_test
TAP_TESTS_C+= fma_test
+# clang 3.8.0 fails always fails this test. See: bug 208703
+.if ! (${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} == 30800)
TAP_TESTS_C+= fmaxmin_test
+.endif
TAP_TESTS_C+= ilogb_test
TAP_TESTS_C+= invtrig_test
TAP_TESTS_C+= invctrig_test
OpenPOWER on IntegriCloud