[PATCH 0/2] selftests/nolibc: don't skip tests for unimplemented syscalls anymore

Thomas Weißschuh posted 2 patches 2 months, 2 weeks ago
tools/testing/selftests/nolibc/nolibc-test.c | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
[PATCH 0/2] selftests/nolibc: don't skip tests for unimplemented syscalls anymore
Posted by Thomas Weißschuh 2 months, 2 weeks ago
The automatic skipping of tests on ENOSYS returns was introduced in
commit 349afc8a52f8 ("selftests/nolibc: skip tests for unimplemented
syscalls"). It handled the fact that nolibc would return ENOSYS for many
syscall wrappers on riscv32.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (2):
      selftests/nolibc: explicitly handle ENOSYS from ptrace()
      selftests/nolibc: don't skip tests for unimplemented syscalls anymore

 tools/testing/selftests/nolibc/nolibc-test.c | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
---
base-commit: baed22472e84754e1e230fe89862aa516f6550eb
change-id: 20260104-nolibc-no-skip-enosys-7aa71004115b

Best regards,
--  
Thomas Weißschuh <linux@weissschuh.net>

Re: [PATCH 0/2] selftests/nolibc: don't skip tests for unimplemented syscalls anymore
Posted by Willy Tarreau 2 months, 2 weeks ago
On Mon, Apr 06, 2026 at 10:02:36PM +0200, Thomas Weißschuh wrote:
> The automatic skipping of tests on ENOSYS returns was introduced in
> commit 349afc8a52f8 ("selftests/nolibc: skip tests for unimplemented
> syscalls"). It handled the fact that nolibc would return ENOSYS for many
> syscall wrappers on riscv32.
> 
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>

Acked-by: Willy Tarreau <w@1wt.eu>

thanks!
Willy