From 7847ea2965e548f7f68c6d7a88499bdb255a697f Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 12 Aug 2013 11:03:29 +0200 Subject: tests: use drmtest_skip to check for rings To simplify things add a set of gem_check_ functions which take care of this. Since I've opted for static inlines drmtest.h grew a few more header includes which was a neat opportunity to dump a few redundant #defines. This kills all the skipped_all hand-rolled logic we have. Signed-off-by: Daniel Vetter --- tests/prime_self_import.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/prime_self_import.c') diff --git a/tests/prime_self_import.c b/tests/prime_self_import.c index 1bd0bb50..8b0a1980 100644 --- a/tests/prime_self_import.c +++ b/tests/prime_self_import.c @@ -51,8 +51,6 @@ #define BO_SIZE (16*1024) -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - static char counter; volatile int pls_die = 0; -- cgit v1.2.3