svn commit: r297952 - head/lib/msun/tests
Garrett Cooper
ngie at FreeBSD.org
Thu Apr 14 04:40:32 UTC 2016
Author: ngie
Date: Thu Apr 14 04:40:31 2016
New Revision: 297952
URL: https://svnweb.freebsd.org/changeset/base/297952
Log:
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
Modified:
head/lib/msun/tests/Makefile
Modified: head/lib/msun/tests/Makefile
==============================================================================
--- head/lib/msun/tests/Makefile Thu Apr 14 04:16:31 2016 (r297951)
+++ head/lib/msun/tests/Makefile Thu Apr 14 04:40:31 2016 (r297952)
@@ -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
More information about the svn-src-head
mailing list