Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jan 2026 22:21:47 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Jessica Clarke <jrtc27@FreeBSD.org>
Subject:   git: 41b346a6e3a7 - stable/15 - libc: Fix TESTSDIR for new stdbit tests
Message-ID:  <6956f37b.ed2b.989727b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by fuz:

URL: https://cgit.FreeBSD.org/src/commit/?id=41b346a6e3a71af8654706fba8f8e25ffdbc37c9

commit 41b346a6e3a71af8654706fba8f8e25ffdbc37c9
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2025-12-01 14:06:21 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-01-01 20:57:33 +0000

    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")
    
    (cherry picked from commit 5f529f9e292a30c065c316ed5fd0d23e07b26e5c)
---
 lib/libc/tests/stdbit/Makefile | 2 ++
 1 file changed, 2 insertions(+)

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
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6956f37b.ed2b.989727b>