Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2025 22:01:30 +0200
From:      Paul Floyd <paulf2718@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Linux Test Project equivalent?
Message-ID:  <3b1a593c-cc62-42f1-8f16-289b401e32bf@gmail.com>

index | next in thread | raw e-mail

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




help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3b1a593c-cc62-42f1-8f16-289b401e32bf>