selftests: timers: Convert nsleep-lat test to generate KTAP output
authorMark Brown <broonie@kernel.org>
Wed, 27 Sep 2023 10:18:59 +0000 (12:18 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 5 Oct 2023 21:00:14 +0000 (15:00 -0600)
commit0a6fa8f03e1497d3d1bf2e55f1e5b082dda227d4
tree869685c044c8340ba8ac37a477c6063c4eea9614
parent071af0c9e582bc47e379e39490a2bc1adfe4ec68
selftests: timers: Convert nsleep-lat test to generate KTAP output

Currently the nsleep-lat test does not produce KTAP output but rather a
custom format. This means that we only get a pass/fail for the suite, not
for each individual test that the suite does. Convert to using the standard
kselftest output functions which result in KTAP output being generated.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/timers/nsleep-lat.c