| raw e-mail | index | archive | help
> 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")
> ---
> 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=3D ${TESTSBASE}/lib/libc/stdbit
> +
> # ensure libc functions are tested, not clang's builtins
> CFLAGS+=3D -fno-builtin
--=_MailMate_99BE4D1D-1FBF-4E93-8962-90AE8046886B_=
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
</head>
<body><div style=3D"font-family: sans-serif;"><div class=3D"markdown" sty=
le=3D"white-space: normal;">
<p dir=3D"auto">Thanks!</p>
<p dir=3D"auto">On 1 Dec 2025, at 15:10, Jessica Clarke wrote:</p>
<blockquote style=3D"margin: 0 0 5px; padding-left: 5px; border-left: 2px=
solid #136BCE; color: #136BCE;">
<p dir=3D"auto">The branch main has been updated by jrtc27:</p>
<p dir=3D"auto">URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3D=
5f529f9e292a30c065c316ed5fd0d23e07b26e5c">https://cgit.FreeBSD.org/src/co=
mmit/?id=3D5f529f9e292a30c065c316ed5fd0d23e07b26e5c</a></p>
<p dir=3D"auto">commit 5f529f9e292a30c065c316ed5fd0d23e07b26e5c<br>
Author: Jessica Clarke <a href=3D"mailto:jrtc27@FreeBSD.org">jrtc27@F=
reeBSD.org</a><br>
AuthorDate: 2025-12-01 14:06:21 +0000<br>
Commit: Jessica Clarke <a href=3D"mailto:jrtc27@FreeBSD.org">jrtc27@F=
reeBSD.org</a><br>
CommitDate: 2025-12-01 14:06:21 +0000</p>
<pre style=3D"margin-left: 15px; margin-right: 15px; padding: 5px; border=
: thin solid gray; overflow-x: auto; max-width: 90vw; background-color: #=
E4E4E4;"><code style=3D"padding: 0 0.25em; background-color: #E4E4E4;">li=
bc: 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")
</code></pre>
<hr>
<p dir=3D"auto">lib/libc/tests/stdbit/Makefile | 2 ++<br>
1 file changed, 2 insertions(+)</p>
<p dir=3D"auto">diff --git a/lib/libc/tests/stdbit/Makefile b/lib/libc/te=
sts/stdbit/Makefile<br>
index 37450056007a..8dbc86528de3 100644<br>
--- a/lib/libc/tests/stdbit/Makefile<br>
+++ b/lib/libc/tests/stdbit/Makefile<br>
@@ -1,3 +1,5 @@<br>
+TESTSDIR=3D ${TESTSBASE}/lib/libc/stdbit<br>
+</p>
<h2>ensure libc functions are tested, not clang's builtins</h2>
<p dir=3D"auto">CFLAGS+=3D -fno-builtin</p>
</blockquote>
</div>
</div>
</body>
</html>
--=_MailMate_99BE4D1D-1FBF-4E93-8962-90AE8046886B_=--
