Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+22
+1
tools/testing/selftests/powerpc/alignment/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/cache_shape/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/copyloops/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/dexcr/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/dscr/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/lib/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/math/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/mce/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/mm/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/nx-gzip/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/papr_attributes/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/papr_sysparm/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/papr_vpd/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/pmu/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/primitives/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/ptrace/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/scripts/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/security/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/stringloops/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/switch_endian/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/syscalls/settings
··· 1 + timeout=130
+1
tools/testing/selftests/powerpc/vphn/settings
··· 1 + timeout=130