Skip to contentSkip to conversation

tests/kms_psr_sink_crc: Skip properly

PATCH New Daniel Vetter 1 participant 1 message Jun 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/kms_psr_sink_crc: Skip properly

Aside: The test has way too many bool return values that are then always checked with igt_assert. Imo cleaner to switch to a more declarative approach and shovel the igt_assert/require into those functions instead.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79962

---
 tests/kms_psr_sink_crc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_psr_sink_crc.c +1 -1
index 6e05e36370ce..999a0bfd0bb6 100644
@@ -600,7 +600,7 @@ igt_main
 
 		data.devid = intel_get_drm_devid(data.drm_fd);
 
-		igt_assert(psr_sink_support(&data));
+		igt_require(psr_sink_support(&data));
 
 		data.bufmgr = drm_intel_bufmgr_gem_init(data.drm_fd, 4096);
 		igt_assert(data.bufmgr);
Signature · 1 line
2.0.0