Skip to content

KVM: s390: selftests: Provide TAP output in tests

Thomas Huth kvm linux-kselftest linux-s390 lkml 4 versions – Applied

Status from this message: Thanks applied and queued.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 3 repliesApplied
  2. v34 patches 2 repliesSuperseded
  3. v24 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches9 repliesSuperseded

Changes in v4 from the cover letter

- Rebased to include test_termination() now in the memop test
- Reworked the extension capability check in the memop test

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4KVM: s390: selftests: Use TAP interface in the memop testtools/testing/selftests/kvm/s390x/memop.c+77 -185 replies
2/4KVM: s390: selftests: Use TAP interface in the sync_regs testtools/testing/selftests/kvm/s390x/sync_regs_test.c+66 -210 replies
3/4KVM: s390: selftests: Use TAP interface in the tprot testtools/testing/selftests/kvm/s390x/tprot.c+24 -50 replies
4/4KVM: s390: selftests: Use TAP interface in the reset testtools/testing/selftests/kvm/s390x/resets.c+30 -80 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJanosch FrankJanis Schoetterl-GlauschThomas Huth
1/4R-b R-b
2/4A-b
3/4R-b R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

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

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

https://lore.kernel.org/kvm/[email protected]/

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.

v4:
- Rebased to include test_termination() now in the memop test
- Reworked the extension capability check in the memop test

v3:
- Added comments / fixed cosmetics according to Janosch's and Janis' reviews of the v2 series
- Added Reviewed-by tags from the v2 series

v2:
- Reworked the extension checking in the first patch
- Make sure to always print the TAP 13 header in the second patch
- Reworked the SKIP printing in the third patch

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     | 95 +++++++++++++++----
 tools/testing/selftests/kvm/s390x/resets.c    | 38 ++++++--
 .../selftests/kvm/s390x/sync_regs_test.c      | 87 +++++++++++++----
 tools/testing/selftests/kvm/s390x/tprot.c     | 29 +++++-
 4 files changed, 197 insertions(+), 52 deletions(-)
Signature · 1 line
2.31.1