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 <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2013-12-10 10:18:32 +01:00
parent ce1a9f918e
commit dda85fb108
56 changed files with 89 additions and 169 deletions
+1 -3
View File
@@ -54,7 +54,7 @@ static void handle_bad(int ret, int lerrno, int expected, const char *desc)
}
}
int main(int argc, char *argv[])
igt_simple_main
{
struct local_drm_i915_context_destroy destroy;
uint32_t ctx_id;
@@ -86,6 +86,4 @@ int main(int argc, char *argv[])
handle_bad(ret, errno, ENOENT, "default destroy");
close(fd);
igt_success();
}