Skip to content

tools/tests: test harness fragment

[email protected] xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest5 patches 4 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tests: fixup domid make fragmenttools/tests/domid/Makefile+43 -160 replies
2/5tests: use unit test fragment in domid testtools/tests/Rules.mk tools/tests/domid/Makefile+98 -900 replies
3/5xen/include: customize headers for host buildsxen/include/xen/irq.h xen/include/xen/list.h xen/include/xen/numa.h +4 more+16 -01 reply
4/5tests: use unit test fragment in vPCI testtools/tests/Rules.mk tools/tests/vpci/.gitignore tools/tests/vpci/Makefile +2 more+42 -720 replies
5/5tests: use unit test fragment in PDX testtools/tests/Rules.mk tools/tests/pdx/.gitignore tools/tests/pdx/Makefile +4 more+36 -530 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] 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 adds some prerequisite changes for vPCI test (patch 4). Patch 4 switches the vPCI unit test to the new common fragment. Patch 5 switches the PDX unit test to the new common fragment.

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

Denis Mukhin (5):
tests: fixup domid make fragment
tests: use unit test fragment in domid test
xen/include: customize headers for host builds
tests: use unit test fragment in vPCI test
tests: use unit test fragment in PDX test

 tools/tests/Rules.mk        | 106 ++++++++++++++++++++++++++++++++++++
 tools/tests/domid/Makefile  |  68 ++---------------------
 tools/tests/pdx/.gitignore  |   2 +-
 tools/tests/pdx/Makefile    |  59 ++++++--------------
 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/pdx.h       |   2 +
 xen/include/xen/pfn.h       |   2 +
 xen/include/xen/spinlock.h  |   2 +
 xen/include/xen/types.h     |   4 ++
 19 files changed, 185 insertions(+), 181 deletions(-)
 create mode 100644 tools/tests/Rules.mk
 create mode 100644 tools/tests/vpci/.gitignore
Signature · 1 line
2.52.0