kselftest/arm64: Flag fp-stress as exiting when we begin finishing up
authorMark Brown <broonie@kernel.org>
Wed, 21 Sep 2022 18:13:44 +0000 (19:13 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 29 Sep 2022 17:12:37 +0000 (18:12 +0100)
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>
tools/testing/selftests/arm64/fp/fp-stress.c

index 4387c3c..03ce393 100644 (file)
@@ -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]);