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

[XTF PATCH v1 02/15] common: add per-test Xen bootargs file


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: dmukhin@xxxxxxxx
  • Date: Wed, 4 Nov 2026 17:38:04 -0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 148.163.138.245) 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=WQwUsoGgprLH4OGDgy2XzFRPDedseFXNxlnsn+UVQxo=; b=JSXv6DAV4al1kggbqwgnFPGDc+LYoy3SIdYt7sUeJ1qVxlTDdTKFh2Df605/tD6SKQ/Tdc8GkEMufHbHeR0husurl0f7I25aRS6NBhRGlbvoX7Pm40I+X3j/9zygVwG19HvxivTeo7MpJia2o/fqjIHkpClOxzPw9s1+nHKnZ1YGU6p3mTIAK52CCjth3jsMkgCJ7Fwf6SBOwibq4Fw9u5jfOK/SSTwaNfLw8UORGFmT6jOBbNbCL3O1F/0V0BVwuldaBVNN7p0uqyiQnXIWdVC8DOMFYwUXYoUXfj5+an4CuQi6xmf9rKCJfAIKURxblna0AivC8ooi01ap5D9Zjg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wVZphTNTGSK/IR2XcueTZxjqmtY5V9hI/ltXf5r1KAhf/B1VkywS0z3vDUFbved5Pe1EKXW88UVfbA+Gj0q0PaNAuahZ3KoBmNZ2v+LLrDVSaXA1Nn0VFj3o88HrKMdK+A1LmvGyaD7rYlYdliXQjMKz0lD7mJ1JPVQ2AsS+yRxbTPy3lAfcBhld0QnWOEmUTRXgs7mZk5zlZfmEoHtX/OaDTio7TO+2QSJWFM1JgW2+LT0XY9R9ZYCoov4ams0FQxgzczvFeR8hmJrFi6Ts3fdBkCV/ihxxmrS1wHoSRbBkLaQv4lbAXVTPXusWxHnwCIGwixMJKa9h6Ux8fArCPA==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=selector2-azureford-onmicrosoft-com header.d=azureford.onmicrosoft.com header.i="@azureford.onmicrosoft.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"; dkim=pass header.s=ppserprodsaar header.d=saarlouis.ford.com header.i="@saarlouis.ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=ppfserpocford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"
  • Cc: andrew.cooper3@xxxxxxxxxx, anthony.perard@xxxxxxxxxx, jbeulich@xxxxxxxx, julien@xxxxxxx, michal.orzel@xxxxxxx, roger@xxxxxxxxxxxxxx, sstabellini@xxxxxxxxxx, dmukhin@xxxxxxx, Denis Mukhin <dmukhin@xxxxxxxx>
  • Delivery-date: Thu, 05 Nov 2026 01:38:39 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Pser-m365-app: SER-APP

From: Denis Mukhin <dmukhin@xxxxxxxx>

Some tests (e.g. Argo) need special Xen configuration to run
the test. Add support for test boot arguments to mkinfo.py.

Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
---
 build/gen.mk    | 2 +-
 build/mkinfo.py | 8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/build/gen.mk b/build/gen.mk
index 8c400e6595e9..999c2e0dddc6 100644
--- a/build/gen.mk
+++ b/build/gen.mk
@@ -36,7 +36,7 @@ build: $(foreach env,$(TEST-ENVS),test-$(env)-$(NAME)) 
$(TEST-CFGS)
 build: info.json
 
 info.json: $(ROOT)/build/mkinfo.py Makefile
-       $(PYTHON) $< $@ "$(NAME)" "$(CATEGORY)" "$(TEST-ENVS)" "$(VARY-CFG)"
+       $(PYTHON) $< $@ "$(NAME)" "$(CATEGORY)" "$(TEST-ENVS)" "$(VARY-CFG)" 
"$(firstword $(wildcard $(1).bootargs.in bootargs.in))"
 
 .PHONY: install install-each-env
 install: install-each-env info.json
diff --git a/build/mkinfo.py b/build/mkinfo.py
index 30f99832711f..f1c70f3c444a 100755
--- a/build/mkinfo.py
+++ b/build/mkinfo.py
@@ -2,15 +2,17 @@
 # -*- coding: utf-8 -*-
 import json
 import sys
+import os
 
 # Usage: mkcfg.py $OUT $NAME $CATEGORY $ENVS $VARIATIONS
-_, out, name, cat, envs, variations = sys.argv
+_, out, name, cat, envs, variations, bootargs = sys.argv
 
 template = {
     "name": name,
     "category": cat,
-    "environments": [],
-    "variations": [],
+    "environments": envs.replace('"', '').split(),
+    "variations": variations.replace('"', '').split(),
+    "xen,xen-bootargs": open(bootargs).read().strip() if 
os.path.exists(bootargs) else "",
     }
 
 if envs:
-- 
2.55.0




 


Rackspace

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