linux-uconsole/tools/testing/selftests/powerpc
Breno Leitao 38672b5741 powerpc/selftests: Wait all threads to join
[ Upstream commit 693b31b2fc ]

Test tm-tmspr might exit before all threads stop executing, because it just
waits for the very last thread to join before proceeding/exiting.

This patch makes sure that all threads that were created will join before
proceeding/exiting.

This patch also guarantees that the amount of threads being created is equal
to thread_num.

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-21 09:19:11 +01:00
..
alignment selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
benchmarks selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
cache_shape selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
copyloops selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
dscr selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
include selftests/powerpc: Add a helper for checking if we're on ppc64le 2018-08-07 21:49:25 +10:00
lib selftests/powerpc: Add ptrace tests for VSX, VMX registers 2016-11-17 17:11:51 +11:00
math selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
mm selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
pmu selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
primitives selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
ptrace selftests/powerpc: Fix ptrace tm failure 2018-11-13 11:08:55 -08:00
scripts selftests/powerpc: Add script to test HMI functionality 2015-12-17 10:46:43 +11:00
signal selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
stringloops selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
switch_endian selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
syscalls selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
tm powerpc/selftests: Wait all threads to join 2018-11-21 09:19:11 +01:00
vphn selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
harness.c selftests/powerpc: Kill child processes on SIGINT 2018-08-08 18:52:24 +10:00
Makefile selftests/powerpc: Remove redundant cp_abort test 2018-05-21 14:48:02 +10:00
utils.c selftests/powerpc: Add a helper for checking if we're on ppc64le 2018-08-07 21:49:25 +10:00