summaryrefslogtreecommitdiffstats
path: root/lib/msun/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-03-16 02:09:51 +0000
committerngie <ngie@FreeBSD.org>2017-03-16 02:09:51 +0000
commit5c55cef0ac086f6290e5fe6c2ee5945f30cdf60f (patch)
tree003d0805576b39b79821800a68eeebc919bf40f1 /lib/msun/tests
parent1081df0b9dfc3c7c1ab2c155dd2d63e661cb0c06 (diff)
downloadFreeBSD-src-5c55cef0ac086f6290e5fe6c2ee5945f30cdf60f.zip
FreeBSD-src-5c55cef0ac086f6290e5fe6c2ee5945f30cdf60f.tar.gz
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
Diffstat (limited to 'lib/msun/tests')
-rw-r--r--lib/msun/tests/ctrig_test.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/msun/tests/ctrig_test.c b/lib/msun/tests/ctrig_test.c
index c37e151..18c18f8 100644
--- a/lib/msun/tests/ctrig_test.c
+++ b/lib/msun/tests/ctrig_test.c
@@ -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);
OpenPOWER on IntegriCloud