summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/ptrace
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2024-11-06 14:04:50 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2024-11-07 12:36:30 +0100
commit5543d595954eefb3a6faa18a6dc7b1b3d6022052 (patch)
treec140614e3a0de8615ef36b26ac80e7373849e288 /tools/testing/selftests/powerpc/ptrace
parentselftests/powerpc: Lower run time of count_stcx_fail test (diff)
downloadlinux-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/settings1
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