summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-10 09:41:48 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-10 09:41:48 +0100
commitef9745b7faf42b1273c63de6f3e4afcbb896e568 (patch)
tree79d635ca00227de4eb6c43e2178b4081dae945df /tests
parentf1c4ec936c97c4b2f906638180357c8786776316 (diff)
lib: igt_simple_main/init for subtest-less tests
Atm only used to print the version information. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_exec_big.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/gem_exec_big.c b/tests/gem_exec_big.c
index 79ec6b2d..4be8559f 100644
--- a/tests/gem_exec_big.c
+++ b/tests/gem_exec_big.c
@@ -97,7 +97,7 @@ static int exec(int fd, uint32_t handle, uint32_t reloc_ofs)
return ret;
}
-int main(int argc, char **argv)
+igt_simple_main
{
uint32_t batch[2] = {MI_BATCH_BUFFER_END};
uint32_t handle;
@@ -120,6 +120,4 @@ int main(int argc, char **argv)
gem_close(fd, handle);
close(fd);
-
- return 0;
}