[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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/20251204123712.721443-1-dmukhin@xxxxxxxx/
[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

-- 
2.52.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.