public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/3] tests: drm_open_any doesn't fail
@ 2013-12-06  9:48 Daniel Vetter
  2013-12-06  9:48 ` [PATCH 2/3] lib: add igt_pipe_crc_check Daniel Vetter
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Daniel Vetter @ 2013-12-06  9:48 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

Or more precisely: It already has an igt_require. So we cant ditch it
from tests.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 tests/kms_cursor_crc.c     | 1 -
 tests/kms_fbc_crc.c        | 1 -
 tests/kms_pipe_crc_basic.c | 1 -
 3 files changed, 3 deletions(-)

diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 74da32eb7497..b78ea7863585 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -338,7 +338,6 @@ igt_main
 		const char *cmd = "pipe A none";
 
 		data.drm_fd = drm_open_any();
-		igt_require(data.drm_fd >= 0);
 
 		igt_set_vt_graphics_mode();
 
diff --git a/tests/kms_fbc_crc.c b/tests/kms_fbc_crc.c
index 660086290f28..7a7f3903667b 100644
--- a/tests/kms_fbc_crc.c
+++ b/tests/kms_fbc_crc.c
@@ -492,7 +492,6 @@ igt_main
 		FILE *status;
 
 		data.drm_fd = drm_open_any();
-		igt_require(data.drm_fd);
 		igt_set_vt_graphics_mode();
 
 		data.devid = intel_get_drm_devid(data.drm_fd);
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index 3bc9eb0ee361..0e793cdf617d 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -219,7 +219,6 @@ igt_main
 		const char *cmd = "pipe A none";
 
 		data.drm_fd = drm_open_any();
-		igt_require(data.drm_fd >= 0);
 
 		igt_set_vt_graphics_mode();
 
-- 
1.8.4.3

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

end of thread, other threads:[~2013-12-06 12:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06  9:48 [PATCH 1/3] tests: drm_open_any doesn't fail Daniel Vetter
2013-12-06  9:48 ` [PATCH 2/3] lib: add igt_pipe_crc_check Daniel Vetter
2013-12-06 12:56   ` Damien Lespiau
2013-12-06  9:48 ` [PATCH 3/3] lib: make igt_pipe_crc_start never fail Daniel Vetter
2013-12-06 12:52   ` Damien Lespiau
2013-12-06 12:58 ` [PATCH 1/3] tests: drm_open_any doesn't fail Damien Lespiau

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