Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2021 17:42:30 +0000
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Alex Richardson <arichardson@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 83ff5d5d98cb - main - Un-XFAIL two tests with Clang > 10
Message-ID:  <6B60F7D5-AD3E-459E-801A-65234A689A01@freebsd.org>
In-Reply-To: <202101281739.10SHdh37056796@gitrepo.freebsd.org>
References:  <202101281739.10SHdh37056796@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Is the commit message or the diff wrong? Both use strict inequalities.

Jess

On 28 Jan 2021, at 17:39, Alex Richardson <arichardson@FreeBSD.org> =
wrote:
>=20
> The branch main has been updated by arichardson:
>=20
> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3D83ff5d5d98cbcf9b66dccd70022358ae=
c8918a14
>=20
> commit 83ff5d5d98cbcf9b66dccd70022358aec8918a14
> Author:     Alex Richardson <arichardson@FreeBSD.org>
> AuthorDate: 2021-01-28 17:17:49 +0000
> Commit:     Alex Richardson <arichardson@FreeBSD.org>
> CommitDate: 2021-01-28 17:24:24 +0000
>=20
>    Un-XFAIL two tests with Clang > 10
>=20
>    SVN r343917 fixed this for in-tree clang, but when building with a =
newer
>    out-of-tree clang the test was still marked as XFAIL.
>=20
>    Reviewed By:    dim
>    Differential Revision: https://reviews.freebsd.org/D28390
> ---
> contrib/netbsd-tests/lib/libm/t_cbrt.c | 4 ++--
> lib/msun/tests/trig_test.c             | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>=20
> diff --git a/contrib/netbsd-tests/lib/libm/t_cbrt.c =
b/contrib/netbsd-tests/lib/libm/t_cbrt.c
> index d2cdd47a5beb..08e9faeb145c 100644
> --- a/contrib/netbsd-tests/lib/libm/t_cbrt.c
> +++ b/contrib/netbsd-tests/lib/libm/t_cbrt.c
> @@ -269,8 +269,8 @@ ATF_TC_BODY(cbrtl_powl, tc)
> 	size_t i;
>=20
> #if defined(__amd64__) && defined(__clang__) && __clang_major__ >=3D 7 =
&& \
> -    __FreeBSD_cc_version < 1300002
> -	atf_tc_expect_fail("test fails with clang 7+ - bug 234040");
> +    __clang_major__ < 10 && __FreeBSD_cc_version < 1300002
> +	atf_tc_expect_fail("test fails with clang 7-9 - bug 234040");
> #endif
>=20
> 	for (i =3D 0; i < __arraycount(x); i++) {
> diff --git a/lib/msun/tests/trig_test.c b/lib/msun/tests/trig_test.c
> index 483a5e187d50..ba1975721d3f 100644
> --- a/lib/msun/tests/trig_test.c
> +++ b/lib/msun/tests/trig_test.c
> @@ -161,7 +161,7 @@ ATF_TC_BODY(reduction, tc)
> 	unsigned i;
>=20
> #if defined(__amd64__) && defined(__clang__) && __clang_major__ >=3D 7 =
&& \
> -    __FreeBSD_cc_version < 1300002
> +    __clang_major__ < 10 && __FreeBSD_cc_version < 1300002
> 	atf_tc_expect_fail("test fails with clang 7+ - bug 234040");
> #endif
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6B60F7D5-AD3E-459E-801A-65234A689A01>