summaryrefslogtreecommitdiff
path: root/tests/gem_tiled_pread.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_tiled_pread.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_tiled_pread.c')
-rw-r--r--tests/gem_tiled_pread.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/gem_tiled_pread.c b/tests/gem_tiled_pread.c
index f3760938..0592b8c0 100644
--- a/tests/gem_tiled_pread.c
+++ b/tests/gem_tiled_pread.c
@@ -123,8 +123,7 @@ calculate_expected(int offset)
return (base_y + tile_y) * WIDTH + base_x + tile_x;
}
-int
-main(int argc, char **argv)
+igt_simple_main
{
int fd;
int i, iter = 100;
@@ -230,6 +229,4 @@ main(int argc, char **argv)
}
close(fd);
-
- return 0;
}