From nobody Fri Jun 26 16:59:54 2026 X-Original-To: dev-commits-src-branches@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 4gn23H2QGDz6jn0Q for ; Fri, 26 Jun 2026 16:59:55 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gn23H0VM2z4DvG for ; Fri, 26 Jun 2026 16:59:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782493195; 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=9aqkpqQSLKIr6rJV9aAEtP4Owr6ZwvbCXBK4XQfxY1I=; b=JASIlxcyxsur/KeWvgqjy5CX/RDnpgNxPTMw4By9hhhb2lrKYnJkJRou0KEC17vWZgJVJn FRDQ9O9/KrclawCOys09b5w79zrLxL0BrOYj+Avwi9ReFls/dB6y4e4l39brQzBDZFurfW 20Pz5Djj2qORPUldPzMZfRRdqGwu7vkPSnyWOo6HQKjRyDTFPWgm/1GDhojfRU5CbS3brY P61yWvec8ZRhr+pvSGFi4yQ6XbfG0EjLS86re0XZLgzF1TIM/TKI4RDcs5MCfYhW6hOFoZ zOw3qUPC8/Gnj7S5LMdiQqRaX85vSKBIYB7sfiX0X7EbJbuEqWSkuaxpcYMG9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782493195; a=rsa-sha256; cv=none; b=VEIEce2lLInaYqTb+CjBsMXDggzjJ7PyTN9arhlwzMk3xWXJsJYH8hIW7PRrdO4X/KWbcO xmah6wzn7oHMYEh3w5zgrsUYw9heo3emgvsoIzT5V+b4fcWNa92oyqFRPXjj7oIMDoUpR7 HmG3eOy81d5+SkMDki8h6jiTVaIkImlXccao51q1Hr/PNKkXmtMb9MYDNs01YqreqhCG5D +MFLW/flABFXaBYF0Fu2V6Yffg/Xdp5PvNEEpqauQvTXbBiFj9k/w1k3gA1+AmOJ6n1ppb HVNsydxgjaiEEjIxUqH9TknaDgf3xNaTTQfFbvVilNfpE+3e3Wh2Rcbj+IZfLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782493195; 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=9aqkpqQSLKIr6rJV9aAEtP4Owr6ZwvbCXBK4XQfxY1I=; b=gB3tGzlJP9YmaemFGTwh6V4FlCbDc5zM/frOvGeHrDD181uf8hu+hPdnUatOIdLU7FsxBp bSlzcHN2tiDi2WxfBM5Pz7cZbwAfzS3J88s6ornUJxUNfAPG54p7gLT3o4j43VUnL6KmGn urCACAdDIYXuXUWXWR374ernY7MXAeoJqs0XgAPLikhnoDJE09lPCP0zBmp/9wp/M1wS8f 0cpGx535XJp8GzPWinUXdHSALqQNkxlTW8CjiR1Qs6T54wYGjh8pKtvas1/kQfRxhc71w9 7ahlRLsL6kULoTUpVA+e5cDJoL4sua7LYmKdwqtKZiaIaYPClx/mLct8hPsVaA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gn23G6h25zmNy for ; Fri, 26 Jun 2026 16:59:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 33b3a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 26 Jun 2026 16:59:54 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Siva Mahadevan From: Siva Mahadevan Subject: git: a90616ce34c4 - stable/14 - lib/msun/tests: Remove newlines in ATF msgs List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: siva X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: a90616ce34c4f19903ce04160b0d11ce25721bd5 Auto-Submitted: auto-generated Date: Fri, 26 Jun 2026 16:59:54 +0000 Message-Id: <6a3eb00a.33b3a.25f2a338@gitrepo.freebsd.org> The branch stable/14 has been updated by siva: URL: https://cgit.FreeBSD.org/src/commit/?id=a90616ce34c4f19903ce04160b0d11ce25721bd5 commit a90616ce34c4f19903ce04160b0d11ce25721bd5 Author: Siva Mahadevan AuthorDate: 2025-10-01 15:13:08 +0000 Commit: Siva Mahadevan CommitDate: 2026-06-26 16:10:05 +0000 lib/msun/tests: Remove newlines in ATF msgs This fixes broken test reports with the following message: lib/msun/fe_round_test:fe_round -> broken: Test result contains multiple lines: expected_failure: /usr/src/contrib/netbsd-tests/lib/libm/t_fe_round.c:95: Didn't get the same rounding mode out!<>(index 0) fed in 64 rounding mode, got 0 out<> [0.079s] Signed-off-by: Siva Mahadevan MFC after: 3 days Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/1871 (cherry picked from commit ec640742e30270098f8d982c1c0838f2dfde9ad5) --- contrib/netbsd-tests/lib/libm/t_fe_round.c | 24 ++++++++++++------------ lib/msun/tests/fmaxmin_test.c | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/contrib/netbsd-tests/lib/libm/t_fe_round.c b/contrib/netbsd-tests/lib/libm/t_fe_round.c index 33da289eb156..a7ee3bf77b98 100644 --- a/contrib/netbsd-tests/lib/libm/t_fe_round.c +++ b/contrib/netbsd-tests/lib/libm/t_fe_round.c @@ -80,15 +80,15 @@ ATF_TC_BODY(fe_round, tc) received = lrint(values[i].input); ATF_CHECK_MSG( (labs(received - values[i].expected) < EPSILON), - "lrint rounding wrong, difference too large\n" - "input: %f (index %d): got %ld, expected %ld\n", + "lrint rounding wrong, difference too large. " + "input: %f (index %d): got %ld, expected %ld", values[i].input, i, received, values[i].expected); /* Do we get the same rounding mode out? */ ATF_CHECK_MSG( (fegetround() == values[i].round_mode), - "Didn't get the same rounding mode out!\n" - "(index %d) fed in %d rounding mode, got %d out\n", + "Didn't get the same rounding mode out!. " + "(index %d) fed in %d rounding mode, got %d out", i, values[i].round_mode, fegetround()); } } @@ -109,15 +109,15 @@ ATF_TC_BODY(fe_nearbyint, tc) received = nearbyint(values[i].input); ATF_CHECK_MSG( (fabs(received - values[i].expected) < EPSILON), - "nearbyint rounding wrong, difference too large\n" - "input: %f (index %d): got %f, expected %ld\n", + "nearbyint rounding wrong, difference too large. " + "input: %f (index %d): got %f, expected %ld", values[i].input, i, received, values[i].expected); /* Do we get the same rounding mode out? */ ATF_CHECK_MSG( (fegetround() == values[i].round_mode), - "Didn't get the same rounding mode out!\n" - "(index %d) fed in %d rounding mode, got %d out\n", + "Didn't get the same rounding mode out! " + "(index %d) fed in %d rounding mode, got %d out", i, values[i].round_mode, fegetround()); } } @@ -151,8 +151,8 @@ ATF_TC_BODY(fe_nextafter, tc) } ATF_CHECK_MSG( res && (fabs(received - values2[i].expected) < EPSILON), - "nextafter() rounding wrong, difference too large\n" - "input: %f (index %d): got %f, expected %f, res %d\n", + "nextafter() rounding wrong, difference too large. " + "input: %f (index %d): got %f, expected %f, res %d", values2[i].input, i, received, values2[i].expected, res); } } @@ -177,8 +177,8 @@ ATF_TC_BODY(fe_nexttoward, tc) } ATF_CHECK_MSG( res && (fabs(received - values2[i].expected) < EPSILON), - "nexttoward() rounding wrong, difference too large\n" - "input: %f (index %d): got %f, expected %f, res %d\n", + "nexttoward() rounding wrong, difference too large. " + "input: %f (index %d): got %f, expected %f, res %d", values2[i].input, i, received, values2[i].expected, res); } } diff --git a/lib/msun/tests/fmaxmin_test.c b/lib/msun/tests/fmaxmin_test.c index 51956b1084af..85a105a7f44f 100644 --- a/lib/msun/tests/fmaxmin_test.c +++ b/lib/msun/tests/fmaxmin_test.c @@ -50,7 +50,7 @@ CHECK_FP_EXCEPTIONS_MSG(0, ALL_STD_EXCEPT, \ #func "(%.20Lg, %.20Lg) rmode%d", (x), (y), rmode); \ ATF_CHECK_MSG(fpequal_cs(__result, (expected), true), \ - #func "(%.20Lg, %.20Lg) rmode%d = %.20Lg, expected %.20Lg\n", \ + #func "(%.20Lg, %.20Lg) rmode%d = %.20Lg, expected %.20Lg", \ (x), (y), rmode, __result, (expected)); \ } while (0)