From dda85fb108469e3d3c8ce19751f928c70e9fba4c Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 10 Dec 2013 10:18:32 +0100 Subject: tests: roll out igt_simple_init/igt_simple_main Also use igt_skip a bit more to simplify some of the tests. Signed-off-by: Daniel Vetter --- tests/gem_unref_active_buffers.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/gem_unref_active_buffers.c') diff --git a/tests/gem_unref_active_buffers.c b/tests/gem_unref_active_buffers.c index c4f73d9e..1e9e2146 100644 --- a/tests/gem_unref_active_buffers.c +++ b/tests/gem_unref_active_buffers.c @@ -51,7 +51,7 @@ static drm_intel_bufmgr *bufmgr; struct intel_batchbuffer *batch; static drm_intel_bo *load_bo; -int main(int argc, char **argv) +igt_simple_main { int fd, i; @@ -96,6 +96,4 @@ int main(int argc, char **argv) drm_intel_bufmgr_destroy(bufmgr); close(fd); - - return 0; } -- cgit v1.2.3