Linux Test Project equivalent?

From: Paul Floyd <paulf2718_at_gmail.com>
Date: Fri, 18 Apr 2025 20:01:30 UTC
Hi

A RedHat developer recently provided a patch to Valgrind that does the 
following

- fetches the LTP code

- builds the kernel/syscalls testcases

- rune the tests 3 times (natively, with valgrind --tool=none and with 
valgrind --tool=memcheck).


Is there anything like that in FreeBSD?

The nearest I've managed is to do a debug buildworld and then run

valgrind --trace-children=yes -q kyua test -k Kyuafile

in the src/lib/libc/tests/* directories. It would be a bit less brute 
force if kyua had an option to run tests under Valgrind. I don't know 
the core build system well enough to work out if there is a way to just 
build anything that is the equivalent of the Linux LTP kernel/syscalls 
testcases.


A+

Paul