From 27ff0bbcfd27df588d3f486cb21180a26031b889 Mon Sep 17 00:00:00 2001 From: Siva Mahadevan Date: Thu, 23 Oct 2025 09:17:25 -0400 Subject: [PATCH] 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 --- 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()); }