mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +00:00
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>
This commit is contained in:
@@ -55,7 +55,7 @@ static void test_invalid_tiling(int fd, uint32_t handle, int stride)
|
||||
* Testcase: Check that max fence stride works
|
||||
*/
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
igt_simple_main
|
||||
{
|
||||
int fd;
|
||||
uint32_t *ptr;
|
||||
@@ -135,6 +135,4 @@ int main(int argc, char *argv[])
|
||||
munmap(ptr, size);
|
||||
|
||||
close(fd);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user