Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2017 02:09:51 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r315359 - stable/11/lib/msun/tests
Message-ID:  <201703160209.v2G29pnJ071734@repo.freebsd.org>

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



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