summaryrefslogtreecommitdiff
path: root/tests/gem_bad_batch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_bad_batch.c')
-rw-r--r--tests/gem_bad_batch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/gem_bad_batch.c b/tests/gem_bad_batch.c
index 33b3241f..7f92a939 100644
--- a/tests/gem_bad_batch.c
+++ b/tests/gem_bad_batch.c
@@ -56,7 +56,7 @@ bad_batch(void)
intel_batchbuffer_flush(batch);
}
-int main(int argc, char **argv)
+igt_simple_main
{
int fd;
@@ -72,6 +72,4 @@ int main(int argc, char **argv)
drm_intel_bufmgr_destroy(bufmgr);
close(fd);
-
- return 0;
}