summaryrefslogtreecommitdiff
path: root/tests/gem_readwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_readwrite.c')
-rw-r--r--tests/gem_readwrite.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/gem_readwrite.c b/tests/gem_readwrite.c
index adf4af287..149254a2e 100644
--- a/tests/gem_readwrite.c
+++ b/tests/gem_readwrite.c
@@ -76,14 +76,13 @@ do_write(int fd, int handle, void *buf, int offset, int size)
int fd;
uint32_t handle;
-int main(int argc, char **argv)
+igt_main
{
uint8_t expected[OBJECT_SIZE];
uint8_t buf[OBJECT_SIZE];
int ret;
igt_skip_on_simulation();
- igt_subtest_init(argc, argv);
igt_fixture {
fd = drm_open_any();
@@ -145,6 +144,4 @@ int main(int argc, char **argv)
igt_fixture
close(fd);
-
- igt_exit();
}