lvQmGHoKhiMQf1qb1EhPda6x3/D1Zu/MKKR7jDgysF2I7wHSC1HBGNtIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dWVly6cszzpWB for ; Wed, 17 Dec 2025 10:44:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id c6a5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 17 Dec 2025 10:44:14 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Siva Mahadevan From: Li-Wen Hsu Subject: git: de601d5bf5c6 - main - lib/msun/tests: xfail failing lrint_test cases on non-x86 archs List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: de601d5bf5c6d2409134abc4638c7a0818cc896e Auto-Submitted: auto-generated Date: Wed, 17 Dec 2025 10:44:14 +0000 Message-Id: <6942897e.c6a5.142889f3@gitrepo.freebsd.org> The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=de601d5bf5c6d2409134abc4638c7a0818cc896e commit de601d5bf5c6d2409134abc4638c7a0818cc896e Author: Siva Mahadevan AuthorDate: 2025-10-08 20:40:15 +0000 Commit: Li-Wen Hsu CommitDate: 2025-12-17 10:43:32 +0000 lib/msun/tests: xfail failing lrint_test cases on non-x86 archs Replace ATF_CHECK_* with ATF_REQUIRE_* to fail fast and avoid unexpected aborts. Signed-off-by: Siva Mahadevan PR: 290099 MFC after: 3 days Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/1871 --- lib/msun/tests/lrint_test.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/msun/tests/lrint_test.c b/lib/msun/tests/lrint_test.c index 29ba82222642..a3f4225dc569 100644 --- a/lib/msun/tests/lrint_test.c +++ b/lib/msun/tests/lrint_test.c @@ -41,9 +41,9 @@ #include "test-utils.h" #define test(func, x, result, excepts) do { \ - ATF_CHECK(feclearexcept(FE_ALL_EXCEPT) == 0); \ + ATF_REQUIRE(feclearexcept(FE_ALL_EXCEPT) == 0); \ long long _r = (func)(x); \ - ATF_CHECK_MSG(_r == (result) || fetestexcept(FE_INVALID), \ + ATF_REQUIRE_MSG(_r == (result) || fetestexcept(FE_INVALID), \ #func "(%Lg) returned %lld, expected %lld", (long double)x, _r, \ (long long)(result)); \ CHECK_FP_EXCEPTIONS_MSG(excepts, FE_ALL_EXCEPT & ALL_STD_EXCEPT, \ @@ -131,6 +131,9 @@ run_tests(void) ATF_TC_WITHOUT_HEAD(lrint); ATF_TC_BODY(lrint, tc) { +#if defined(__aarch64__) || defined(__riscv) + atf_tc_expect_fail("https://bugs.freebsd.org/290099"); +#endif run_tests(); #ifdef __i386__ fpsetprec(FP_PE);