From nobody Wed Dec 17 10:44:13 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dWVly2gnhz6KqJK for ; Wed, 17 Dec 2025 10:44:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dWVlx6GRDz3tny for ; Wed, 17 Dec 2025 10:44:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765968253; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JU6sFhER4PnISbSlCBxJVWppU89+MEPsB7AUL9fLFag=; b=OuTc/Y4loQrfcRgR36cukkOCIRSxMJEBpmbGmklfUEvMeXCY+8TARXdXSrZVL++BIpZx26 +pbtEo8dINbRQvrWsxSn0IN6gh1S0nRR+vYLcS11KAkVpOwiDP515V2CWrPB+GZlPU7m+W V4YeERHOIBaLooO1K5KpHVzbr0YzHk0MsVJX7ACQ6YQ07wK7ag1lluw5IJZ8ZAUd1+HiiJ ow8AJMQU8uyPkDN7ghoWbRqWVHh+95Z1EYbI3wSv3pvDnejC4zG4sIXtc3bKfhu81XJBRg 5lB4izyA9BjRiwiVOeaWdH2Kscf+eoayEtDswucELduS//4U/Mf8kSf7l27LPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765968253; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JU6sFhER4PnISbSlCBxJVWppU89+MEPsB7AUL9fLFag=; b=Mc57zYiPgWPGML+Ly6WfG5DjPUUxMtfNp5INEx83gOK+sP+SWtikMN2hq4y46NN206KMEX 1LH/wo+/9RA2Shq+OOls8XrlARsf6+2Pzule4Fni94g4JIB29TgoQzqKsfCs+sbPChz6h9 vrAqGZwfZf1mC3RQRg2rqIu+V1fORvn2MhpszRI2nz6nXCwUJC27htUMxu7Kh0TRroB45l fm6dX+l19k4g/vIXY4uj20LjgOPSvBtrkO+Lfj7QWiVDedJ0OZ4EFEL8/WCcZge/Rn8miB aMuBMVb7ZU+0GdqmwO87oYMypWjFty45nVVGXO0oBNwN1QCH74RktT/tLfbpKA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765968253; a=rsa-sha256; cv=none; b=UbdYppyUvRWeP1QsZYTW2x1zDKg3X9aK+YRq9+W4RQlKVTbKiDPAi9X9CYV6mONUEkOEBt qHP2jt3whUbIatC3cBdEKM+AsZfVJNx/75cFcKMIehsJ/AROqMsZvu9ztN3RnIgC4uJUZ+ HFy7w3ufltcVRvKdsxmwgV8NLpHsA0lJ8h0kuGezutYqoFbfQBcu/a7ZD0LMZPLE8/AEm0 q5eixGIZFYUSsEMhyd+w0qoJCCcOdAlPTQs4tmvNLN6uKX7nykohojGTqiGo2OGtiOQ0GK IZamDDp3NNsUvimkEo3ilxnrIr9PTGoaXG/jEs1WtUalzJsafz7GEFx3JBEoKA== 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 4dWVlx5qlHzpFW for ; Wed, 17 Dec 2025 10:44:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id c294 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 17 Dec 2025 10:44:13 +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: 5a0617454e37 - main - lib/msun/tests: xfail failing invtrig_test cases on non-x86 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: 5a0617454e37c6a3df4106c24bd5ad20b338fe3a Auto-Submitted: auto-generated Date: Wed, 17 Dec 2025 10:44:13 +0000 Message-Id: <6942897d.c294.6e5e82dd@gitrepo.freebsd.org> The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=5a0617454e37c6a3df4106c24bd5ad20b338fe3a commit 5a0617454e37c6a3df4106c24bd5ad20b338fe3a Author: Siva Mahadevan AuthorDate: 2025-10-08 20:40:15 +0000 Commit: Li-Wen Hsu CommitDate: 2025-12-17 10:43:24 +0000 lib/msun/tests: xfail failing invtrig_test cases on non-x86 Replace ATF_CHECK_* with ATF_REQUIRE_* to fail fast and avoid unexpected abort. PR: 290099 MFC after: 3 days Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/1871 --- lib/msun/tests/invtrig_test.c | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/lib/msun/tests/invtrig_test.c b/lib/msun/tests/invtrig_test.c index 8c6fdb7c6e2f..76fbd33bf73e 100644 --- a/lib/msun/tests/invtrig_test.c +++ b/lib/msun/tests/invtrig_test.c @@ -52,8 +52,8 @@ #define test_tol(func, x, result, tol, excepts) do { \ volatile long double _in = (x), _out = (result); \ ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \ - CHECK_FPEQUAL_TOL(func(_in), _out, (tol), CS_BOTH); \ - CHECK_FP_EXCEPTIONS_MSG(excepts, ALL_STD_EXCEPT, "for %s(%s)", \ + REQUIRE_FPEQUAL_TOL(func(_in), _out, (tol), CS_BOTH); \ + REQUIRE_FP_EXCEPTIONS_MSG(excepts, ALL_STD_EXCEPT, "for %s(%s)", \ #func, #x); \ } while (0) #define test(func, x, result, excepts) \ @@ -82,8 +82,8 @@ #define test2_tol(func, y, x, result, tol, excepts) do { \ volatile long double _iny = (y), _inx = (x), _out = (result); \ ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \ - CHECK_FPEQUAL_TOL(func(_iny, _inx), _out, (tol), CS_BOTH); \ - CHECK_FP_EXCEPTIONS_MSG(excepts, ALL_STD_EXCEPT, "for %s(%s)", \ + REQUIRE_FPEQUAL_TOL(func(_iny, _inx), _out, (tol), CS_BOTH); \ + REQUIRE_FP_EXCEPTIONS_MSG(excepts, ALL_STD_EXCEPT, "for %s(%s)", \ #func, #x); \ } while (0) #define test2(func, y, x, result, excepts) \ @@ -125,7 +125,9 @@ sqrt2m1 = 4.14213562373095048801688724209698081e-01L; ATF_TC_WITHOUT_HEAD(special); ATF_TC_BODY(special, tc) { - +#if defined(__aarch64__) || defined(__riscv) + atf_tc_expect_fail("https://bugs.freebsd.org/283017"); +#endif testall(asin, 0.0, 0.0, 0); testall(acos, 0.0, pi / 2, FE_INEXACT); testall(atan, 0.0, 0.0, 0); @@ -238,7 +240,9 @@ ATF_TC_BODY(special_atan2, tc) ATF_TC_WITHOUT_HEAD(accuracy); ATF_TC_BODY(accuracy, tc) { - +#if defined(__riscv) + atf_tc_expect_fail("https://bugs.freebsd.org/290099"); +#endif /* We expect correctly rounded results for these basic cases. */ testall(asin, 1.0, pi / 2, FE_INEXACT); testall(acos, 1.0, 0, 0); @@ -276,7 +280,9 @@ ATF_TC_BODY(accuracy, tc) ATF_TC_WITHOUT_HEAD(p2x_atan2); ATF_TC_BODY(p2x_atan2, tc) { - +#if defined(__riscv) + atf_tc_expect_fail("https://bugs.freebsd.org/290099"); +#endif testall2(atan2, 1.0, 1.0, pi / 4, FE_INEXACT); testall2(atan2, 1.0, -1.0, c3pi / 4, FE_INEXACT); testall2(atan2, -1.0, 1.0, -pi / 4, FE_INEXACT); @@ -299,6 +305,9 @@ ATF_TC_BODY(p2x_atan2, tc) ATF_TC_WITHOUT_HEAD(tiny); ATF_TC_BODY(tiny, tc) { +#if defined(__aarch64__) || defined(__riscv) + atf_tc_expect_fail("https://bugs.freebsd.org/283017"); +#endif float tiny = 0x1.23456p-120f; testall(asin, tiny, tiny, FE_INEXACT); @@ -436,6 +445,9 @@ tanatanl(long double x) ATF_TC_WITHOUT_HEAD(inverse); ATF_TC_BODY(inverse, tc) { +#if defined(__riscv) + atf_tc_expect_death("https://bugs.freebsd.org/290099"); +#endif float i; for (i = -1; i <= 1; i += 0x1.0p-12f) {