linux/tools/testing/selftests/powerpc
Sam Bobroff 99597ceda0 selftests/powerpc: Improve tm-resched-dscr
The tm-resched-dscr self test can, in some situations, run for
several minutes before being successfully interrupted by the context
switch it needs in order to perform the test. This often seems to
occur when the test is being run in a virtual machine.

Improve the test by running it under eat_cpu() to guarantee
contention for the CPU and increase the chance of a context switch.

In practice this seems to reduce the test time, in some cases, from
more than two minutes to under a second.

Also remove the "progress dots" so that if the test does run for a
long time, it doesn't produce large amounts of unnecessary output.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-08-17 21:56:36 +10:00
..
alignment selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
benchmarks selftests/powerpc: context_switch use private futexes with threads 2017-06-05 16:55:01 +10:00
cache_shape selftests/powerpc: Add cache_shape sniff test 2017-03-20 19:02:49 +11:00
context_switch selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
copyloops selftests: enable O and KBUILD_OUTPUT 2017-01-05 13:42:22 -07:00
dscr selftests: enable O and KBUILD_OUTPUT 2017-01-05 13:42:22 -07:00
include selftests/powerpc: Refactor the AUXV routines 2017-03-20 19:02:49 +11:00
lib selftests/powerpc: Add ptrace tests for VSX, VMX registers 2016-11-17 17:11:51 +11:00
math selftests/powerpc: Fix remaining fallout from recent changes 2017-02-14 08:02:27 -07:00
mm selftests: enable O and KBUILD_OUTPUT 2017-01-05 13:42:22 -07:00
pmu linux-kselftest-4.11-rc1 2017-02-25 15:32:53 -08:00
primitives selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
ptrace selftests/powerpc: Add ptrace tests for TM SPR registers 2016-11-17 17:11:52 +11:00
scripts selftests/powerpc: Add script to test HMI functionality 2015-12-17 10:46:43 +11:00
signal selftests/powerpc: Move shared headers into new include dir 2016-11-17 17:11:47 +11:00
stringloops selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
switch_endian selftests: enable O and KBUILD_OUTPUT 2017-01-05 13:42:22 -07:00
syscalls selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
tm selftests/powerpc: Improve tm-resched-dscr 2017-08-17 21:56:36 +10:00
vphn selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
harness.c selftest/powerpc: Fix false failures for skipped tests 2017-03-03 11:24:50 +11:00
Makefile linux-kselftest-4.12-rc1 2017-05-08 20:43:30 -07:00
utils.c selftests/powerpc: Refactor the AUXV routines 2017-03-20 19:02:49 +11:00