summaryrefslogtreecommitdiff
path: root/tests/gem_mmap_offset_exhaustion.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-10 10:18:32 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-10 10:18:32 +0100
commitdda85fb108469e3d3c8ce19751f928c70e9fba4c (patch)
treea711eaada22dc9d1713922482e3680bedb10300e /tests/gem_mmap_offset_exhaustion.c
parentce1a9f918ef2415562bf441c2b7d886c6eb865c4 (diff)
tests: roll out igt_simple_init/igt_simple_main
Also use igt_skip a bit more to simplify some of the tests. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_mmap_offset_exhaustion.c')
-rw-r--r--tests/gem_mmap_offset_exhaustion.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/gem_mmap_offset_exhaustion.c b/tests/gem_mmap_offset_exhaustion.c
index d834fda4..670ca466 100644
--- a/tests/gem_mmap_offset_exhaustion.c
+++ b/tests/gem_mmap_offset_exhaustion.c
@@ -77,7 +77,7 @@ create_and_map_bo(int fd)
gem_madvise(fd, handle, I915_MADV_DONTNEED);
}
-int main(int argc, char **argv)
+igt_simple_main
{
int fd, i;
@@ -91,6 +91,4 @@ int main(int argc, char **argv)
create_and_map_bo(fd);
close(fd);
-
- return 0;
}