KVM: arm64: selftests: Make MTE reporting in set_id_regs more standard
Currently the way that most if not all test automation systems track the
results of individual tests in kselftest between runs is by using the
string printed as part of the test result line, the numbers printed change
too often to be useful. This is used for user interface purposes and for
automated applications like bisection.
The KVM set_id_regs test does not follow this pattern when reporting the
MTE specific tests it does, the strings used when tests pass are distinct
from those when tests are skipped or fail. Since we only ever report one
result from the MTE specific tests fix this by routing everything through
a single call to ksft_test_result_code(), using it's facility for reporting
diagnostics.
Signed-off-by: Mark Brown <broonie@kernel.org>
1 file changed