OSDN Git Service

KVM: selftests: Convert debug-exceptions to printf style GUEST_ASSERT
authorSean Christopherson <seanjc@google.com>
Sat, 29 Jul 2023 00:36:20 +0000 (17:36 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 2 Aug 2023 21:43:03 +0000 (14:43 -0700)
commitbac9aeecc387a1436567b6e74f8257f7e8c4d194
tree62b659e71274b2b647754e7be75365eb0661d062
parentdb44e1c871bcf6228b9447aada421088e036692a
KVM: selftests: Convert debug-exceptions to printf style GUEST_ASSERT

Convert ARM's debug exceptions  test to use printf-based GUEST_ASSERT().
Opportunistically Use GUEST_ASSERT_EQ() in guest_code_ss() so that the
expected vs. actual values get printed out.

Link: https://lore.kernel.org/r/20230729003643.1053367-12-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/aarch64/debug-exceptions.c