Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Dec 2025 14:13:54 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Cc:        Siva Mahadevan <me@svmhdvn.name>
Subject:   git: 27ff0bbcfd27 - main - libc/limits_test: add no-op testcase to satisfy kyua
Message-ID:  <6932e8a2.2d8b4.6f0b56d3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/src/commit/?id=27ff0bbcfd27df588d3f486cb21180a26031b889

commit 27ff0bbcfd27df588d3f486cb21180a26031b889
Author:     Siva Mahadevan <me@svmhdvn.name>
AuthorDate: 2025-10-23 13:17:25 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-12-05 14:12:46 +0000

    libc/limits_test: add no-op testcase to satisfy kyua
    
    This test suite is purely tested with compile-time assertions, so
    it needs a dummy runtime test to ensure that kyua reports the
    file as passing.
    
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/1915
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    fuz
    Approved by:    markj (mentor)
    MFC after:      1 month
    Signed-off-by:  Siva Mahadevan <me@svmhdvn.name>
---
 lib/libc/tests/gen/limits_test.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/libc/tests/gen/limits_test.c b/lib/libc/tests/gen/limits_test.c
index b4e8bf3178f1..7324ef74319e 100644
--- a/lib/libc/tests/gen/limits_test.c
+++ b/lib/libc/tests/gen/limits_test.c
@@ -93,9 +93,12 @@ CHECK_UTYPE(uintptr_t, UINTPTR);
 CHECK_UTYPE(size_t, SIZE);
 
 /* dummy */
+ATF_TC_WITHOUT_HEAD(dummy);
+ATF_TC_BODY(dummy, tc) {}
+
 ATF_TP_ADD_TCS(tp)
 {
-	(void)tp;
+	ATF_TP_ADD_TC(tp, dummy);
 
 	return (atf_no_error());
 }


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6932e8a2.2d8b4.6f0b56d3>