summaryrefslogtreecommitdiff
path: root/tests/prime_self_import.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-12 11:03:29 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-12 11:17:58 +0200
commit7847ea2965e548f7f68c6d7a88499bdb255a697f (patch)
treeab57251355f10ec894647eb4bb258b87e152928f /tests/prime_self_import.c
parent7553ad6e10f76aa703359a10e08138e14501d54d (diff)
tests: use drmtest_skip to check for rings
To simplify things add a set of gem_check_<ring> 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 <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/prime_self_import.c')
-rw-r--r--tests/prime_self_import.c2
1 files changed, 0 insertions, 2 deletions
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;