diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2024-11-06 14:04:50 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-11-07 12:36:30 +0100 |
commit | 5543d595954eefb3a6faa18a6dc7b1b3d6022052 (patch) | |
tree | c140614e3a0de8615ef36b26ac80e7373849e288 /tools/testing/selftests/powerpc/ptrace | |
parent | selftests/powerpc: Lower run time of count_stcx_fail test (diff) | |
download | linux-5543d595954eefb3a6faa18a6dc7b1b3d6022052.tar.xz linux-5543d595954eefb3a6faa18a6dc7b1b3d6022052.zip |
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
Diffstat (limited to 'tools/testing/selftests/powerpc/ptrace')
-rw-r--r-- | tools/testing/selftests/powerpc/ptrace/settings | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/ptrace/settings b/tools/testing/selftests/powerpc/ptrace/settings new file mode 100644 index 000000000000..2e8566183318 --- /dev/null +++ b/tools/testing/selftests/powerpc/ptrace/settings @@ -0,0 +1 @@ +timeout=130 |