From: Sowmiya S <sowmiya.s@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, swati2.sharma@intel.com,
Sowmiya S <sowmiya.s@intel.com>
Subject: [PATCH i-g-t v1 2/2] tests/kms_properties: Use per-subtest atomic flag
Date: Mon, 2 Mar 2026 20:00:13 +0530 [thread overview]
Message-ID: <20260302143013.264657-3-sowmiya.s@intel.com> (raw)
In-Reply-To: <20260302143013.264657-1-sowmiya.s@intel.com>
Fix subtest dispatch to use the current
test entry’s atomic field (tests[i].atomic)
Signed-off-by: Sowmiya S <sowmiya.s@intel.com>
---
tests/kms_properties.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/kms_properties.c b/tests/kms_properties.c
index 8ac122850..c3ba2b522 100644
--- a/tests/kms_properties.c
+++ b/tests/kms_properties.c
@@ -1001,10 +1001,10 @@ int igt_main()
for (i = 0; i < ARRAY_SIZE(tests); i++) {
igt_describe_f("%s\n", tests[i].desc);
igt_subtest_with_dynamic_f("%s", tests[i].name) {
- if (tests->atomic && !display.is_atomic)
+ if (tests[i].atomic && !display.is_atomic)
continue;
- tests[i].func(&display, tests->atomic);
+ tests[i].func(&display, tests[i].atomic);
}
}
--
2.43.0
next prev parent reply other threads:[~2026-03-02 14:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 14:30 [PATCH i-g-t v1 0/2] Refresh connector when property fetch fails and update proper atomic flag Sowmiya S
2026-03-02 14:30 ` [PATCH i-g-t v1 1/2] tests/kms_properties: Refresh connector when property fetch fails Sowmiya S
2026-03-02 14:30 ` Sowmiya S [this message]
2026-03-03 21:36 ` ✓ Xe.CI.BAT: success for Refresh connector when property fetch fails and update proper atomic flag Patchwork
2026-03-03 21:52 ` ✓ i915.CI.BAT: " Patchwork
2026-03-04 8:10 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-04 9:09 ` ✓ i915.CI.Full: success " 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=20260302143013.264657-3-sowmiya.s@intel.com \
--to=sowmiya.s@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
--cc=swati2.sharma@intel.com \
/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