<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/nolibc, branch linux-rolling-lts</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-09-01T18:48:41Z</updated>
<entry>
<title>selftests/nolibc: remove outdated comment about construct order</title>
<updated>2025-09-01T18:48:41Z</updated>
<author>
<name>Benjamin Berg</name>
</author>
<published>2025-07-31T20:12:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca38943e83c7274a7b03b36c02807ea6d6adaac2'/>
<id>urn:sha1:ca38943e83c7274a7b03b36c02807ea6d6adaac2</id>
<content type='text'>
The constructor order is not (and should not) be tested. Remove the
comment.

Fixes: a782d45c867c ("selftests/nolibc: stop testing constructor order")
Signed-off-by: Benjamin Berg &lt;benjamin.berg@intel.com&gt;
Link: https://lore.kernel.org/r/20250731201225.323254-3-benjamin@sipsolutions.net
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
<entry>
<title>selftests/nolibc: fix EXPECT_NZ macro</title>
<updated>2025-09-01T18:48:41Z</updated>
<author>
<name>Benjamin Berg</name>
</author>
<published>2025-07-31T20:12:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d33ce3634f99e0c6c9ce9fc111261f2c411cb48'/>
<id>urn:sha1:6d33ce3634f99e0c6c9ce9fc111261f2c411cb48</id>
<content type='text'>
The expect non-zero macro was incorrect and never used. Fix its
definition.

Fixes: 362aecb2d8cfa ("selftests/nolibc: add basic infrastructure to ease creation of nolibc tests")
Signed-off-by: Benjamin Berg &lt;benjamin.berg@intel.com&gt;
Link: https://lore.kernel.org/r/20250731201225.323254-2-benjamin@sipsolutions.net
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
<entry>
<title>selftests/nolibc: always compile the kernel with GCC</title>
<updated>2025-08-18T14:05:41Z</updated>
<author>
<name>Thomas Weißschuh</name>
</author>
<published>2025-07-19T15:38:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=850047b19741490631855a475ccaa3ed29316039'/>
<id>urn:sha1:850047b19741490631855a475ccaa3ed29316039</id>
<content type='text'>
LLVM/clang can not build the kernel for all architectures supported by
nolibc. The current setup uses the same compiler to build the kernel as
is used for nolibc-test. This prevents using the full qemu-system tests
for LLVM builds.

Instead always build the kernel with GCC. For the nolibc testsuite the
kernel does not need to be built with LLVM.

Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Link: https://lore.kernel.org/r/20250719-nolibc-llvm-system-v1-3-1730216ce171@weissschuh.net
</content>
</entry>
<entry>
<title>selftests/nolibc: don't pass CC to toplevel Makefile</title>
<updated>2025-08-18T14:05:40Z</updated>
<author>
<name>Thomas Weißschuh</name>
</author>
<published>2025-07-19T15:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a5b40317dcbcd5e498cc8d2b3e5f48755bab322'/>
<id>urn:sha1:1a5b40317dcbcd5e498cc8d2b3e5f48755bab322</id>
<content type='text'>
The toplevel Makefile is capable of calculating CC from CROSS_COMPILE
and/or ARCH.

Stop passing the unnecessary variable.

Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Link: https://lore.kernel.org/r/20250719-nolibc-llvm-system-v1-2-1730216ce171@weissschuh.net
</content>
</entry>
<entry>
<title>selftests/nolibc: deduplicate invocations of toplevel Makefile</title>
<updated>2025-08-18T14:05:40Z</updated>
<author>
<name>Thomas Weißschuh</name>
</author>
<published>2025-07-19T15:38:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32042f638cb839b4eb4a76b5dfc7c0a412327a6d'/>
<id>urn:sha1:32042f638cb839b4eb4a76b5dfc7c0a412327a6d</id>
<content type='text'>
Various targets of the testsuite call back into the toplevel kernel
Makefile. These calls use various parameters and are quite long.

Introduce a common variable to make future changes smaller and the lines
shorter.

Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Link: https://lore.kernel.org/r/20250719-nolibc-llvm-system-v1-1-1730216ce171@weissschuh.net
</content>
</entry>
<entry>
<title>selftests/nolibc: be more specific about variables affecting nolibc-test</title>
<updated>2025-08-18T14:05:39Z</updated>
<author>
<name>Thomas Weißschuh</name>
</author>
<published>2025-08-18T14:02:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2be3fd903a6775ce21b2a138950aab09d0998427'/>
<id>urn:sha1:2be3fd903a6775ce21b2a138950aab09d0998427</id>
<content type='text'>
Only one of these variables is used.
$CC is preferred over $CROSS_COMPILE.

Make this clear in the help message.

Suggested-by: Willy Tarreau &lt;w@1wt.eu&gt;
Link: https://lore.kernel.org/lkml/20250817093905.GA14213@1wt.eu/
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
<entry>
<title>tools/nolibc: fix error return value of clock_nanosleep()</title>
<updated>2025-08-17T09:42:09Z</updated>
<author>
<name>Thomas Weißschuh</name>
</author>
<published>2025-07-31T08:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1201f6fb5bfdbd10985ac3c8f49ef8f4f88b5c94'/>
<id>urn:sha1:1201f6fb5bfdbd10985ac3c8f49ef8f4f88b5c94</id>
<content type='text'>
clock_nanosleep() returns a positive error value. Unlike other libc
functions it *does not* return -1 nor set errno.

Fix the return value and also adapt nanosleep().

Fixes: 7c02bc4088af ("tools/nolibc: add support for clock_nanosleep() and nanosleep()")
Signed-off-by: Thomas Weißschuh &lt;thomas.weissschuh@linutronix.de&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Link: https://lore.kernel.org/r/20250731-nolibc-clock_nanosleep-ret-v1-1-9e4af7855e61@linutronix.de
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
<entry>
<title>selftests/nolibc: add x32 test configuration</title>
<updated>2025-07-13T14:58:41Z</updated>
<author>
<name>Thomas Weißschuh</name>
</author>
<published>2025-07-12T09:00:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9e50363178a40c76bebaf2f00faa2b0b6baf8d1'/>
<id>urn:sha1:b9e50363178a40c76bebaf2f00faa2b0b6baf8d1</id>
<content type='text'>
Nolibc supports the x32 ABI on x86.
Add a testcase to make sure the support stays functional.

QEMU user does not have support for x32, so skip the test there.

Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Link: https://lore.kernel.org/r/20250712-nolibc-x32-v1-2-6d81cb798710@weissschuh.net
</content>
</entry>
<entry>
<title>selftests/nolibc: show failed run if test process crashes</title>
<updated>2025-07-09T16:28:36Z</updated>
<author>
<name>Benjamin Berg</name>
</author>
<published>2025-07-09T15:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=750aef513c610a37a13732ec64902428b839715e'/>
<id>urn:sha1:750aef513c610a37a13732ec64902428b839715e</id>
<content type='text'>
The logic would not catch if the test process crashes and would
incorrectly report a "success" state. Fix this by looking for the final
"Total number of errors:" message and printing "failure" if it was not
seen.

Signed-off-by: Benjamin Berg &lt;benjamin.berg@intel.com&gt;
Link: https://lore.kernel.org/r/20250709155512.971080-2-benjamin@sipsolutions.net
[Thomas: fix patch prefix]
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
<entry>
<title>tools/nolibc: drop s390 clang target override</title>
<updated>2025-07-08T07:24:00Z</updated>
<author>
<name>Thomas Weißschuh</name>
</author>
<published>2025-06-20T11:00:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6f6be0c4faf0e0faa3ed5253458186c2d598226'/>
<id>urn:sha1:f6f6be0c4faf0e0faa3ed5253458186c2d598226</id>
<content type='text'>
tools/scripts/Makefile.include now has the same override,
removing the need for the one in the nolibc Makefile.

Drop the superfluous custom override.

Signed-off-by: Thomas Weißschuh &lt;thomas.weissschuh@linutronix.de&gt;
Link: https://lore.kernel.org/r/20250620-tools-cross-s390-v2-2-ecda886e00e5@linutronix.de
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
</feed>
