summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/pidfd/pidfd_test.c
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2023-04-14 21:38:45 +0200
committerShuah Khan <skhan@linuxfoundation.org>2023-06-13 00:39:11 +0200
commitf6a01213e3f812b645cd1079167bf47fc45bb0c8 (patch)
treefbab39f3da59feb4cdc57510ac5fd5cad93fb7af /tools/testing/selftests/pidfd/pidfd_test.c
parentselftests/ftrace: Add new test case which checks for optimized probes (diff)
downloadlinux-f6a01213e3f812b645cd1079167bf47fc45bb0c8.tar.xz
linux-f6a01213e3f812b645cd1079167bf47fc45bb0c8.zip
selftests: allow runners to override the timeout
The default timeout for selftests tests is 45 seconds. Although we already have 13 settings for tests of about 96 sefltests which use a timeout greater than this, we want to try to avoid encouraging more tests to forcing a higher test timeout as selftests strives to run all tests quickly. Selftests also uses the timeout as a non-fatal error. Only tests runners which have control over a system would know if to treat a timeout as fatal or not. To help with all this: o Enhance documentation to avoid future increases of insane timeouts o Add the option to allow overriding the default timeout with test runners with a command line option Suggested-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Tested-by:Muhammad Usama Anjum <usama.anjum@collabora.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/pidfd/pidfd_test.c')
0 files changed, 0 insertions, 0 deletions