summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timers/threadtest.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-09-27 13:18:58 +0300
committerShuah Khan <skhan@linuxfoundation.org>2023-10-06 00:00:07 +0300
commit071af0c9e582bc47e379e39490a2bc1adfe4ec68 (patch)
tree5ec86b87acc9469992c396eaa762b5240c4bdc14 /tools/testing/selftests/timers/threadtest.c
parent47903c1d153d5178d54ea086e2bfa5298506f04f (diff)
downloadlinux-071af0c9e582bc47e379e39490a2bc1adfe4ec68.tar.xz
selftests: timers: Convert posix_timers test to generate KTAP output
Currently the posix_timers 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. As part of this fix the printing of diagnostics in the unlikely event that the pthread APIs fail, these were using perror() but the API functions directly return an error code instead of setting errno. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/timers/threadtest.c')
0 files changed, 0 insertions, 0 deletions