Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/3] igt_doc: Add driver name list at JSON configuration
Date: Wed, 29 Nov 2023 13:25:34 +0100	[thread overview]
Message-ID: <20231129123221.98948-2-mauro.chehab@linux.intel.com> (raw)
In-Reply-To: <20231129123221.98948-1-mauro.chehab@linux.intel.com>

From: Mauro Carvalho Chehab <mchehab@kernel.org>

Add an optional field at JSON configuration to allow specifying
driver name(s).

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
 scripts/test_list.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/test_list.py b/scripts/test_list.py
index 3954e883ada3..7e0e45ca3732 100644
--- a/scripts/test_list.py
+++ b/scripts/test_list.py
@@ -289,6 +289,11 @@ class TestList:
             cfg_path = "./"
             driver_name = main_name
 
+        if "drivers" in self.config:
+            self.drivers = self.config["drivers"]
+        else:
+            self.drivers = [driver_name]
+
         if sources_path:
             cfg_path = os.path.realpath(sources_path) + "/"
 
-- 
2.42.0

  reply	other threads:[~2023-11-29 12:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 12:25 [igt-dev] [PATCH i-g-t 0/3] Produce per-GPU testlists for IntelCI Mauro Carvalho Chehab
2023-11-29 12:25 ` Mauro Carvalho Chehab [this message]
2023-11-29 15:39   ` [igt-dev] [PATCH i-g-t 1/3] igt_doc: Add driver name list at JSON configuration Kamil Konieczny
2023-11-29 12:25 ` [igt-dev] [PATCH i-g-t 2/3] tests/intel: *.json: specify what drivers use such tests Mauro Carvalho Chehab
2023-11-29 15:42   ` Kamil Konieczny
2023-11-29 12:25 ` [igt-dev] [PATCH i-g-t 3/3] scripts/igt_doc.py: add a logic to generate Intel CI testlists Mauro Carvalho Chehab
2023-11-29 15:46   ` Kamil Konieczny
2023-11-29 13:38 ` [igt-dev] ✓ Fi.CI.BAT: success for Produce per-GPU testlists for IntelCI (rev2) Patchwork
2023-11-29 14:47 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-29 15:41 ` [igt-dev] [PATCH i-g-t 0/3] Produce per-GPU testlists for IntelCI Kamil Konieczny
2023-11-30 13:44 ` [igt-dev] ✓ Fi.CI.IGT: success for Produce per-GPU testlists for IntelCI (rev2) Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231129123221.98948-2-mauro.chehab@linux.intel.com \
    --to=mauro.chehab@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox