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: [PATCH i-g-t 2/3] scripts/igt_doc.py: ignore "all" when producing testlists
Date: Thu, 22 Feb 2024 08:40:00 +0100	[thread overview]
Message-ID: <20240222074208.173368-3-mauro.chehab@linux.intel.com> (raw)
In-Reply-To: <20240222074208.173368-1-mauro.chehab@linux.intel.com>

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

The meaning of "all" is an special case for blocklists, meant to be
used only when some block lists are to be applied everywhere. It is
not a testlist itself.

So, exclude it as a different kind of GPU, as the default case is
already covered.

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

diff --git a/scripts/igt_doc.py b/scripts/igt_doc.py
index 7404e3d0934c..7985cdd5ac5e 100755
--- a/scripts/igt_doc.py
+++ b/scripts/igt_doc.py
@@ -229,6 +229,10 @@ class IntelciTestlist:
             for gpu, names in gpus.items():
                 gpu = re.sub(r"[\W_]+", "-", gpu).lower()
 
+                # "all" is used used only as a default value for unlisted GPUs
+                if gpu == "all":
+                    continue
+
                 dname = os.path.join(driver_path, gpu)
                 try:
                     os.makedirs(dname)
-- 
2.43.2


  parent reply	other threads:[~2024-02-22  7:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-22  7:39 [PATCH i-g-t 0/3] Additional fixes for IntelCI testlist generation Mauro Carvalho Chehab
2024-02-22  7:39 ` [PATCH i-g-t 1/3] scripts/igt_doc.py: fix intelci testlist generation for complex cases Mauro Carvalho Chehab
2024-02-22  7:40 ` Mauro Carvalho Chehab [this message]
2024-02-22  7:40 ` [PATCH i-g-t 3/3] scripts/igt_doc.py: fix trivial case handling Mauro Carvalho Chehab
2024-02-22  9:02 ` ✓ CI.xeBAT: success for Additional fixes for IntelCI testlist generation Patchwork
2024-02-22  9:17 ` ✓ Fi.CI.BAT: " Patchwork
2024-02-22 16:38 ` ✓ Fi.CI.IGT: " 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=20240222074208.173368-3-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