summaryrefslogtreecommitdiff
path: root/tests/gem_evict_everything.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_evict_everything.c')
-rw-r--r--tests/gem_evict_everything.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/gem_evict_everything.c b/tests/gem_evict_everything.c
index ae856b05..dbf1582a 100644
--- a/tests/gem_evict_everything.c
+++ b/tests/gem_evict_everything.c
@@ -296,14 +296,12 @@ static void major_evictions(int fd, int size, int count)
free(bo);
}
-int main(int argc, char **argv)
+igt_main
{
int size, count, fd;
size = count = 0;
fd = -1;
- igt_subtest_init(argc, argv);
-
igt_skip_on_simulation();
igt_fixture {
@@ -359,6 +357,4 @@ int main(int argc, char **argv)
igt_fixture {
close(fd);
}
-
- igt_exit();
}