Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 04:40:31 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297952 - head/lib/msun/tests
Message-ID:  <201604140440.u3E4eVgp032000@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604140440.u3E4eVgp032000>