summaryrefslogtreecommitdiff
path: root/tests/kms_flip.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 11:09:25 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 11:09:25 +0200
commit8dbd1fb9d4ecdd686dac13fb64f7af02480ea849 (patch)
treea011c42d9a552b8b02e7210aeefa04a4547b8389 /tests/kms_flip.c
parent9ad062d0b30f307cd5045ba03eeb7d2fa90487b0 (diff)
lib/drmtest: igt_skip when drm_get_card fails
Also add printf support to igt_skip to make sure there's always a reason why we fail a testcase. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_flip.c')
-rw-r--r--tests/kms_flip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index fe85dcb0..cb9ccd1b 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -628,8 +628,6 @@ static void hang_gpu(struct test_output *o)
int fd;
ssize_t r;
- igt_assert(card_index != -1);
-
snprintf(fname, FILENAME_MAX, "%s/%i/%s",
dfs_base, card_index, dfs_entry);