]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest/arm64: Fail the overall fp-stress test if any test fails
authorMark Brown <broonie@kernel.org>
Thu, 17 Oct 2024 17:43:31 +0000 (18:43 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 22 Oct 2024 10:58:25 +0000 (11:58 +0100)
commit7a08cb9b4bb92fb86f5fe8a3aa0ac08a9b3d783b
tree7f3d3cecb67bbfec280577ecbfadfe9744d12b87
parent96dddb7b9406259baace9a1831e8da155311be6f
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: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241017-arm64-fp-stress-exit-code-v1-1-f528e53a2321@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/fp-stress.c