mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 06:52:34 -04:00
selftests/powerpc: Give all tests 2 minutes timeout
Each of the powerpc selftests runs with a timeout of 2 minutes by default (see tools/testing/selftests/powerpc/harness.c). But when tests are run with run_kselftest.sh it uses a timeout of 45 seconds, meaning some tests run OK standalone but fail when run with the test runner. So tell run_kselftest.sh to give each test 130 seconds, that should allow the tests to complete, or be killed by the powerpc test harness after 2 minutes. If for some reason the harness fails, or for the few tests that don't use the harness, the 130 second timeout should catch them if they get stuck. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://patch.msgid.link/20241106130453.1741013-2-mpe@ellerman.id.au
This commit is contained in:
1
tools/testing/selftests/powerpc/cache_shape/settings
Normal file
1
tools/testing/selftests/powerpc/cache_shape/settings
Normal file
@@ -0,0 +1 @@
|
||||
timeout=130
|
||||
Reference in New Issue
Block a user