diff options
| author | Siva Mahadevan <me@svmhdvn.name> | 2025-10-23 13:17:25 +0000 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2025-12-05 14:12:46 +0000 |
| commit | 27ff0bbcfd27df588d3f486cb21180a26031b889 (patch) | |
| tree | 9eb8268c847cab59e25acedb0218365f9dfc399b | |
| parent | 9155d4b273ffc07e81e2cb0bcedfac570d14a303 (diff) | |
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>
| -rw-r--r-- | lib/libc/tests/gen/limits_test.c | 5 |
1 files changed, 4 insertions, 1 deletions
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()); } |
