svn commit: r314951 - head/lib/msun/tests

Ngie Cooper ngie at FreeBSD.org
Thu Mar 9 06:58:48 UTC 2017


Author: ngie
Date: Thu Mar  9 06:58:47 2017
New Revision: 314951
URL: https://svnweb.freebsd.org/changeset/base/314951

Log:
  Expect :test_zero_input to fail on amd64
  
  The clang 4.x+ upgrade now causes this testcase to fail, but
  only on amd64.
  
  More investigation will be done to determine the cause.
  
  MFC after:	1 week
  Reported by:	Jenkins
  PR:		217528
  Sponsored by:	Dell EMC Isilon

Modified:
  head/lib/msun/tests/ctrig_test.c

Modified: head/lib/msun/tests/ctrig_test.c
==============================================================================
--- head/lib/msun/tests/ctrig_test.c	Thu Mar  9 06:56:44 2017	(r314950)
+++ head/lib/msun/tests/ctrig_test.c	Thu Mar  9 06:58:47 2017	(r314951)
@@ -138,6 +138,13 @@ ATF_TC_BODY(test_zero_input, tc)
 {
 	long double complex zero = CMPLXL(0.0, 0.0);
 
+#if defined(__amd64__)
+#if defined(__clang__) && \
+	((__clang_major__ >= 4))
+	atf_tc_expect_fail("test fails with clang 4.x+ - bug 217528");
+#endif
+#endif
+
 	/* csinh(0) = ctanh(0) = 0; ccosh(0) = 1 (no exceptions raised) */
 	testall_odd(csinh, zero, zero, ALL_STD_EXCEPT, 0, CS_BOTH);
 	testall_odd(csin, zero, zero, ALL_STD_EXCEPT, 0, CS_BOTH);


More information about the svn-src-head mailing list