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

-- 
2.52.0


Reply via email to