Author: ngie
Date: Thu Mar 16 02:09:51 2017
New Revision: 315359
URL: https://svnweb.freebsd.org/changeset/base/315359

Log:
  MFC r314951:
  
  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.
  
  PR:           217528

Modified:
  stable/11/lib/msun/tests/ctrig_test.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/msun/tests/ctrig_test.c
==============================================================================
--- stable/11/lib/msun/tests/ctrig_test.c       Thu Mar 16 02:04:16 2017        
(r315358)
+++ stable/11/lib/msun/tests/ctrig_test.c       Thu Mar 16 02:09:51 2017        
(r315359)
@@ -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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to