mirror-linux/tools/testing/selftests/powerpc/pmu
Michael Ellerman 5543d59595 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
2024-11-07 22:36:30 +11:00
..
ebb selftests/powerpc: Add flags.mk to support pmu buildable 2024-04-29 23:53:01 +10:00
event_code_tests selftests/powerpc: Add flags.mk to support pmu buildable 2024-04-29 23:53:01 +10:00
sampling_tests selftests/powerpc: Add flags.mk to support pmu buildable 2024-04-29 23:53:01 +10:00
.gitignore selftests/powerpc: Add a test of counting larx/stcx 2020-05-15 11:58:55 +10:00
Makefile selftests/powerpc: Install tests in sub-directories 2024-04-29 23:54:43 +10:00
branch_loops.S selftests/powerpc/pmu: Add interface test for mmcra_ifm field of indirect call type 2022-06-28 23:57:55 +10:00
count_instructions.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 191 2019-05-30 11:29:21 -07:00
count_stcx_fail.c selftests/powerpc: Lower run time of count_stcx_fail test 2024-11-07 22:36:30 +11:00
event.c selftests/powerpc/pmu: Add event_init_sampling function 2022-03-01 23:38:13 +11:00
event.h selftests/powerpc/pmu: Add event_init_sampling function 2022-03-01 23:38:13 +11:00
l3_bank_test.c selftests/powerpc: Skip L3 bank test on older CPUs 2020-09-08 22:24:08 +10:00
lib.c selftests/powerpc: Allow bind_to_cpu() to automatically pick CPU 2023-04-20 13:21:45 +10:00
lib.h selftests/powerpc: Move bind_to_cpu() to utils.h 2023-04-20 13:21:45 +10:00
loop.S selftests/powerpc: Add a test of counting larx/stcx 2020-05-15 11:58:55 +10:00
per_event_excludes.c selftests/powerpc: Include asm/cputable.h from utils.h 2020-09-08 22:23:59 +10:00
settings selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00