summaryrefslogtreecommitdiff
path: root/tests/gem_reg_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_reg_read.c')
-rw-r--r--tests/gem_reg_read.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/gem_reg_read.c b/tests/gem_reg_read.c
index 67c1d91b..a88c6a46 100644
--- a/tests/gem_reg_read.c
+++ b/tests/gem_reg_read.c
@@ -63,7 +63,7 @@ static uint64_t timer_query(int fd)
return reg_read.val;
}
-int main(int argc, char *argv[])
+igt_simple_main
{
struct local_drm_i915_reg_read reg_read;
int fd, ret;
@@ -88,5 +88,4 @@ int main(int argc, char *argv[])
EINVAL, "bad register");
close(fd);
- igt_success();
}