summary refs log tree commit diff
path: root/tools/testing/selftests/arm64
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-09-21 19:13:44 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2022-09-29 18:12:37 +0100
commitdd72dd7cd527ff9313af5866434e698fdbda98ae (patch)
tree4e1883f8c3fb9e9a436c7a2d2c92ec97da556465 /tools/testing/selftests/arm64
parentc38d381fff26ece271447d558dcb4b42f0ccda51 (diff)
downloadlinux-dd72dd7cd527ff9313af5866434e698fdbda98ae.tar.gz
kselftest/arm64: Flag fp-stress as exiting when we begin finishing up
Once we have started exiting the termination handler will have the same
effect as what we're already running so set the termination flag at that
point.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220921181345.618085-3-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/testing/selftests/arm64')
-rw-r--r--tools/testing/selftests/arm64/fp/fp-stress.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/arm64/fp/fp-stress.c b/tools/testing/selftests/arm64/fp/fp-stress.c
index 4387c3cacaa7..03ce3936220a 100644
--- a/tools/testing/selftests/arm64/fp/fp-stress.c
+++ b/tools/testing/selftests/arm64/fp/fp-stress.c
@@ -522,6 +522,7 @@ int main(int argc, char **argv)
 	}
 
 	ksft_print_msg("Finishing up...\n");
+	terminate = true;
 
 	for (i = 0; i < tests; i++)
 		child_stop(&children[i]);