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 -2
View File
@@ -32,7 +32,7 @@
/**
* Checks DRM_IOCTL_GET_VERSION and libdrm's drmGetVersion() interface to it.
*/
int main(int argc, char **argv)
igt_simple_main
{
int fd;
drmVersionPtr v;
@@ -45,5 +45,4 @@ int main(int argc, char **argv)
igt_assert(v->version_major >= 1);
drmFree(v);
close(fd);
return 0;
}