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

[PATCH v3 0/5] tools/tests: test harness fragment


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: dmukhin@xxxxxxxx
  • Date: Thu, 12 Feb 2026 18:49:47 -0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 205.220.161.53) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=q4rnB/Lh6fdQpYdjJxwi4vZ4CW28EcFbNEWJ5GIehRM=; b=VNY6KlAa30b7SB0qn869Q7weLMfZg24nJcYE+6XILiU/hWxc8437WA6kdBUp0MhuPHaXzwMpIW8jQuhFaIn6IgFcr2KDdRC2ksuWVXCK1q6j+LPRo2cPiOFIw1u8D0snkiDSqvZBI3BXSQZv7YErOliEMoDh1c/gz1gQYz31QJ9g9RDVIyWZOmRmj1blOgegQNs/TQyiAaaqSCROnNOw/9xwtC7mLon4s3VZWdCeMe3XDle5n5325MsfhhaMW96eE919vDjfB2TO9f/2raL9PsWSkSK1ziKbazvTB+55Hm4Sp2QX/Vp5WlAJ2hwpnrm+4ZvHM1hyQN4TaY2G1cc2Vw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=u1U9MqsSJgg1+S2kHp2cHyZDQcSifB8jAlWG8FR4QspuLyKcdlVS49O54R7CsiN4KbG/loLV/l+wvXAksFUjEUPXF8n2e8jd9RCMXqQjCVZugFwnv9mZ4K67iMaP15eqkB5PfPU3yw1XGmecJI/BtFGRf0Ef9Qaloxl9BsjWQXHL5Kf/i5HyYAyVDY1VfQRr9+4B0BWfGp+rxKfew3DHFHeKpoEkwoCePAy5t3wOdO4mP4qVJZREIOoIf55pk1yn4m7tkoSFwzQWBVdIiqiwYystRQfaWgzkS0fl/8MGR2sVm9gkeXmcpSQotUv5gFzhZSWOlOurY44neG77YHD6Rg==
  • Cc: andrew.cooper3@xxxxxxxxxx, anthony.perard@xxxxxxxxxx, jbeulich@xxxxxxxx, julien@xxxxxxx, michal.orzel@xxxxxxx, roger.pau@xxxxxxxxxx, sstabellini@xxxxxxxxxx, dmukhin@xxxxxxxx
  • Delivery-date: Fri, 13 Feb 2026 02:50:31 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Pser-m365-app: SER-APP

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




 


Rackspace

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