Re: [PATCH 0/3] selftests: timers: Convert some more of the timers tests to KTAP

From: Thomas Gleixner
Date: Thu Sep 28 2023 - 05:49:44 EST


On Wed, Sep 27 2023 at 12:18, Mark Brown wrote:

> KTAP is the standard output format for selftests, providing a method for
> systems running the selftests to get results from individual tests
> rather than just a pass/fail for the test program as a whole. While
> many of the timers tests use KTAP some have custom output formats, let's
> convert a few more to KTAP to make them work better in automation.
>
> The posix_timers test made use of perror(), I've added a generic helper
> to kselftest.h for that since it seems like it'll be useful elsewhere.
>
> There are more tests that don't use KTAP, several of them just run a
> single test so don't really benefit from KTAP and there were a couple
> where the conversion was a bit more complex so I've left them for now.

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>