Commit 7a08cb9b authored by Mark Brown's avatar Mark Brown Committed by Catalin Marinas
Browse files

kselftest/arm64: Fail the overall fp-stress test if any test fails



Currently fp-stress does not report a top level test result if it runs to
completion, it always exits with a return code 0. Use the ksft_finished()
helper to ensure that the exit code for the top level program reports a
failure if any of the individual tests has failed.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241017-arm64-fp-stress-exit-code-v1-1-f528e53a2321@kernel.org


Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 96dddb7b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -651,7 +651,5 @@ int main(int argc, char **argv)

	drain_output(true);

	ksft_print_cnts();

	return 0;
	ksft_finished();
}