Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2025 14:56:27 +0100
From:      Kristof Provost <kp@FreeBSD.org>
To:        Robert Clausecker <fuz@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 2fb8cbc6ef1b - main - libc/tests: add stdbit test framework and unit tests
Message-ID:  <3E139664-C0CE-4BB9-9225-66D7D44D644E@FreeBSD.org>
In-Reply-To: <692c9966.26e27.70621b5b@gitrepo.freebsd.org>
References:  <692c9966.26e27.70621b5b@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 30 Nov 2025, at 20:22, Robert Clausecker wrote:
> The branch main has been updated by fuz:
>
> URL: 
> https://cgit.FreeBSD.org/src/commit/?id=2fb8cbc6ef1b3cc6cd60e5db07f8305623f9b044
>
> commit 2fb8cbc6ef1b3cc6cd60e5db07f8305623f9b044
> Author:     Robert Clausecker <fuz@FreeBSD.org>
> AuthorDate: 2025-11-18 17:33:12 +0000
> Commit:     Robert Clausecker <fuz@FreeBSD.org>
> CommitDate: 2025-11-30 19:21:52 +0000
>
>     libc/tests: add stdbit test framework and unit tests
>
>     This adds unit tests for all 70 functions in <stdbit.h>.
>
>     I'm sorry for the test framework, but it makes it so I don't
>     have to write 70 unit tests by hand.
>
>     Reviewed by:    adrian, des
>     Approved by:    markj (mentor)
>     MFC after:      1 month
>     Differential Revision:  https://reviews.freebsd.org/D53660

I’m having issues running the tests now.
I get this kyua error doing kyua list in /usr/tests/lib:

	kyua: E: Load of 'Kyuafile' failed: Failed to load Lua file 'Kyuafile': 
Kyuafile:48: Load of 'libc/Kyuafile' failed: Failed to load Lua file 
'libc/Kyuafile': libc/Kyuafile:19: Load of 'libc/stdbit/Kyuafile' 
failed: File 'libc/stdbit/Kyuafile' not found.

That’s presumably because there’s no Kyuafile (or indeed anything at 
all) in /usr/tests/lib/libc/stdbit.

It’s not immediately obvious to me what went wrong to cause that, but 
I’m relatively confident it’s related to this commit.

Best regards,
Kristof
[-- Attachment #2 --]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">On 30 Nov 2025, at 20:22, Robert Clausecker wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #136BCE; color: #136BCE;">
<p dir="auto">The branch main has been updated by fuz:</p>
<p dir="auto">URL: <a href="https://cgit.FreeBSD.org/src/commit/?id=2fb8cbc6ef1b3cc6cd60e5db07f8305623f9b044">https://cgit.FreeBSD.org/src/commit/?id=2fb8cbc6ef1b3cc6cd60e5db07f8305623f9b044</a></p>;
<p dir="auto">commit 2fb8cbc6ef1b3cc6cd60e5db07f8305623f9b044<br>
Author:     Robert Clausecker <a href="mailto:fuz@FreeBSD.org">fuz@FreeBSD.org</a><br>
AuthorDate: 2025-11-18 17:33:12 +0000<br>
Commit:     Robert Clausecker <a href="mailto:fuz@FreeBSD.org">fuz@FreeBSD.org</a><br>
CommitDate: 2025-11-30 19:21:52 +0000</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; border: thin solid gray; overflow-x: auto; max-width: 90vw; background-color: #E4E4E4;"><code style="padding: 0 0.25em; background-color: #E4E4E4;">libc/tests: add stdbit test framework and unit tests

This adds unit tests for all 70 functions in &lt;stdbit.h&gt;.

I'm sorry for the test framework, but it makes it so I don't
have to write 70 unit tests by hand.

Reviewed by:    adrian, des
Approved by:    markj (mentor)
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D53660
</code></pre>
</blockquote>
<p dir="auto">I’m having issues running the tests now.<br>
I get this kyua error doing kyua list in /usr/tests/lib:</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; border: thin solid gray; overflow-x: auto; max-width: 90vw; background-color: #E4E4E4;"><code style="padding: 0 0.25em; background-color: #E4E4E4;">kyua: E: Load of 'Kyuafile' failed: Failed to load Lua file 'Kyuafile': Kyuafile:48: Load of 'libc/Kyuafile' failed: Failed to load Lua file 'libc/Kyuafile': libc/Kyuafile:19: Load of 'libc/stdbit/Kyuafile' failed: File 'libc/stdbit/Kyuafile' not found.
</code></pre>
<p dir="auto">That’s presumably because there’s no Kyuafile (or indeed anything at all) in /usr/tests/lib/libc/stdbit.</p>
<p dir="auto">It’s not immediately obvious to me what went wrong to cause that, but I’m relatively confident it’s related to this commit.</p>
<p dir="auto">Best regards,<br>
Kristof</p>

</div>
</div>
</body>

</html>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E139664-C0CE-4BB9-9225-66D7D44D644E>