[PATCH 0/4] KVM: s390: selftests: Provide TAP output in tests

From: Thomas Huth
Date: Thu Apr 14 2022 - 06:53:34 EST


This patch series is motivated by Shuah's suggestion here:

https://lore.kernel.org/kvm/d576d8f7-980f-3bc6-87ad-5a6ae45609b8@xxxxxxxxxxxxxxxxxxx/

Many s390x KVM selftests do not output any information about which
tests have been run, so it's hard to say whether a test binary
contains a certain sub-test or not. To improve this situation let's
add some TAP output via the kselftest.h interface to these tests,
so that it easier to understand what has been executed or not.

Thomas Huth (4):
KVM: s390: selftests: Use TAP interface in the memop test
KVM: s390: selftests: Use TAP interface in the sync_regs test
KVM: s390: selftests: Use TAP interface in the tprot test
KVM: s390: selftests: Use TAP interface in the reset test

tools/testing/selftests/kvm/s390x/memop.c | 90 +++++++++++++++----
tools/testing/selftests/kvm/s390x/resets.c | 38 ++++++--
.../selftests/kvm/s390x/sync_regs_test.c | 86 +++++++++++++-----
tools/testing/selftests/kvm/s390x/tprot.c | 12 ++-
4 files changed, 179 insertions(+), 47 deletions(-)

--
2.27.0