summaryrefslogtreecommitdiff
path: root/tests/gem_basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_basic.c')
-rw-r--r--tests/gem_basic.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/gem_basic.c b/tests/gem_basic.c
index 19065b1e..5d8f8406 100644
--- a/tests/gem_basic.c
+++ b/tests/gem_basic.c
@@ -77,10 +77,8 @@ test_create_fd_close(int fd)
int fd;
-int main(int argc, char **argv)
+igt_main
{
- igt_subtest_init(argc, argv);
-
igt_fixture
fd = drm_open_any();
@@ -90,6 +88,4 @@ int main(int argc, char **argv)
test_create_close(fd);
igt_subtest("create-fd-close")
test_create_fd_close(fd);
-
- igt_exit();
}