aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2025-12-01 14:06:21 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2025-12-01 14:06:21 +0000
commit5f529f9e292a30c065c316ed5fd0d23e07b26e5c (patch)
treeaa9b0875ada43d4c0eaf8ee1a7aabc22f2a60812
parentc1e033c33e8b290cd40f4069249c879efcbae6a6 (diff)
libc: Fix TESTSDIR for new stdbit tests
Otherwise the directory created by etc/mtree/BSD.tests.dist, which is where these belong, and referred to by the generated Kyuafile for /usr/tests/lib/libc (via stdbit's existence in TESTS_SUBDIRS), ends up empty with no Kyuafile, which is an error for kyua. Reported by: kp Fixes: 2fb8cbc6ef1b ("libc/tests: add stdbit test framework and unit tests")
-rw-r--r--lib/libc/tests/stdbit/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/tests/stdbit/Makefile b/lib/libc/tests/stdbit/Makefile
index 37450056007a..8dbc86528de3 100644
--- a/lib/libc/tests/stdbit/Makefile
+++ b/lib/libc/tests/stdbit/Makefile
@@ -1,3 +1,5 @@
+TESTSDIR= ${TESTSBASE}/lib/libc/stdbit
+
# ensure libc functions are tested, not clang's builtins
CFLAGS+= -fno-builtin