From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Jeevan B <jeevan.b@intel.com>
Subject: [PATCH i-g-t] tests/kms_display_modes: Add logs to skips
Date: Thu, 6 Feb 2025 20:53:48 +0530 [thread overview]
Message-ID: <20250206152348.972063-1-jeevan.b@intel.com> (raw)
Add igt_require check to ensure that test criteria are met before
execution. If the required is not met, skip the test with log.
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
tests/kms_display_modes.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
index e41c60cc0..117f82325 100644
--- a/tests/kms_display_modes.c
+++ b/tests/kms_display_modes.c
@@ -335,8 +335,10 @@ igt_main
}
igt_describe("Test for validating display extended mode with a pair of connected displays");
- igt_subtest_with_dynamic("extended-mode-basic")
+ igt_subtest_with_dynamic("extended-mode-basic") {
+ igt_require_f(count > 1, "Minimum 2 outputs are required\n");
run_extendedmode_test(&data);
+ }
igt_describe("Negative test for validating display extended mode with a pair of connected "
"2k-4k or 4k-4k displays");
--
2.25.1
next reply other threads:[~2025-02-06 15:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-06 15:23 Jeevan B [this message]
2025-02-06 20:24 ` ✓ Xe.CI.BAT: success for tests/kms_display_modes: Add logs to skips Patchwork
2025-02-07 0:33 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-07 3:31 ` [PATCH i-g-t] " Samala, Pranay
2025-02-07 13:15 ` ✓ i915.CI.BAT: success for " Patchwork
2025-02-07 13:24 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-07 19:02 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-07 21:19 ` ✗ i915.CI.Full: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2025-02-07 4:35 [PATCH i-g-t] " Jeevan B
2025-02-07 13:06 ` Sharma, Swati2
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=20250206152348.972063-1-jeevan.b@intel.com \
--to=jeevan.b@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