Skip to content

tools/tests: test harness fragment

[email protected] xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 8 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests: fixup domid make fragmenttools/tests/domid/Makefile+44 -193 replies
2/4tests: introduce common fragment for unit teststools/tests/Rules.mk tools/tests/domid/Makefile+92 -841 reply
3/4tests: use unit test fragment in PDX testtools/tests/pdx/.gitignore tools/tests/pdx/Makefile tools/tests/pdx/harness.h +2 more+16 -482 replies
4/4tests: use unit test fragment in vPCI testtools/tests/Rules.mk tools/tests/vpci/.gitignore tools/tests/vpci/Makefile +9 more+56 -712 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchStefano Stabellini
1/4
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] tools/tests: test harness fragment

This series introduces the use of a new common unit test fragment across several existing unit tests.

Patch 1 contains assorted fixups for the domid Makefile.
Patch 2 adds a new fragment for auto-generating test harness dependencies. Patch 3 switches the PDX unit test to the new common fragment. Patch 4 switches the vPCI unit test to the new common fragment.

[1] Link to v1: https://lore.kernel.org/xen-devel/[email protected]/
[2] CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/2256052244

Denis Mukhin (4):
tests: fixup domid make fragment
tests: introduce common fragment for unit tests
tests: use unit test fragment in PDX test
tests: use unit test fragment in vPCI test

 tools/tests/Rules.mk        | 94 +++++++++++++++++++++++++++++++++++++
 tools/tests/domid/Makefile  | 68 ++-------------------------
 tools/tests/pdx/.gitignore  |  2 +-
 tools/tests/pdx/Makefile    | 55 +++++-----------------
 tools/tests/pdx/harness.h   |  2 +-
 tools/tests/pdx/test-pdx.c  |  2 -
 tools/tests/vpci/.gitignore |  2 +
 tools/tests/vpci/Makefile   | 52 +++++++-------------
 tools/tests/vpci/emul.h     | 50 +++++++-------------
 tools/tests/vpci/main.c     |  2 -
 xen/common/pdx.c            |  3 +-
 xen/include/xen/irq.h       |  2 +
 xen/include/xen/list.h      |  2 +
 xen/include/xen/numa.h      |  2 +
 xen/include/xen/pci.h       |  2 +
 xen/include/xen/pfn.h       |  2 +
 xen/include/xen/spinlock.h  |  2 +
 xen/include/xen/types.h     |  4 ++
 18 files changed, 167 insertions(+), 181 deletions(-)
 create mode 100644 tools/tests/Rules.mk
 create mode 100644 tools/tests/vpci/.gitignore
Signature · 1 line
2.52.0