Re: [PATCHv3 dwarves] Refactor selftests
Alan Maguire <[email protected]>
| Newsgroups | org.kernel.vger.dwarves |
|---|---|
| Message-ID | <[email protected]> |
On 09/03/2026 20:56, Bruce McCulloch wrote: > Hello, > Here is a rebased version of the patch that is in line with upstream, > and contains gcc_true_signatures,sh. Sorry about the mixup on this one, > someone should probably sync the github sometime soon :-). > > Bruce > --- > Simple refactoring of the testsuite with the creation of a shared > library (tests/test_lib.sh). > Additions include: > * Getters to find vmlinux. > * Functions to open tmp dirs and tmp files. > * Functions to automatically clean tmp dirs and files on pass. > * On fail, tmp dirs are preserved. > * Functions to pass/fail/skip/softfail tests (works with CI). > * Logging functions with varying verbosity levels. > * Compatible with non-bash interpreters (for perf tests). > * Colors. > > Signed-off-by: Bruce McCulloch <[email protected]> Applied, thanks!