From 8dbd1fb9d4ecdd686dac13fb64f7af02480ea849 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 19 Aug 2013 11:09:25 +0200 Subject: 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 --- tests/kms_flip.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/kms_flip.c') 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); -- cgit v1.2.3