Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/3] Fix incorrect skips and improve cleanup
@ 2026-04-29  9:39 Pranay Samala
  2026-04-29  9:39 ` [PATCH i-g-t 1/3] tests/kms_hdr: Move framebuffer into data_t for centralized cleanup Pranay Samala
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Pranay Samala @ 2026-04-29  9:39 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, sameer.lattannavar, pranay.samala

This series fixes issues where tests were being skipped 
incorrectly and cleanup was not always happening.

Capability checks were earlier done outside dynamic subtests, 
which could cause valid cases to be skipped if a later output 
checks fails. Move these checks inside igt_dynamic_f() to ensure 
each case runs independently.

Cleanup is also improved by centralizing framebuffer handling 
and calling test_fini() after each dynamic subtest, so resources 
are always released even on early exits.

Pranay Samala (3):
  tests/kms_hdr: Move framebuffer into data_t for centralized cleanup
  tests/kms_hdr: Move test_fini() for proper cleanup
  tests/kms_hdr: Move capability checks inside dynamic subtests

 tests/kms_hdr.c | 207 +++++++++++++++++++++---------------------------
 1 file changed, 90 insertions(+), 117 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-05-04  9:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-29  9:39 [PATCH i-g-t 0/3] Fix incorrect skips and improve cleanup Pranay Samala
2026-04-29  9:39 ` [PATCH i-g-t 1/3] tests/kms_hdr: Move framebuffer into data_t for centralized cleanup Pranay Samala
2026-05-04  9:37   ` Karthik B S
2026-04-29  9:39 ` [PATCH i-g-t 2/3] tests/kms_hdr: Move test_fini() for proper cleanup Pranay Samala
2026-05-04  9:39   ` Karthik B S
2026-04-29  9:39 ` [PATCH i-g-t 3/3] tests/kms_hdr: Move capability checks inside dynamic subtests Pranay Samala
2026-05-04  9:40   ` Karthik B S
2026-04-29 14:02 ` ✓ i915.CI.BAT: success for Fix incorrect skips and improve cleanup Patchwork
2026-04-29 14:06 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-29 23:31 ` ✗ i915.CI.Full: failure " Patchwork
2026-04-29 23:51 ` ✗ Xe.CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox