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:
Daniel Vetter
2013-12-10 10:18:32 +01:00
parent ce1a9f918e
commit dda85fb108
56 changed files with 89 additions and 169 deletions
+1 -3
View File
@@ -175,7 +175,7 @@ static int many_exec(int fd, uint32_t batch, int num_exec, int num_reloc, unsign
#define fail(x) ASSERT(_fail(x))
#define pass(x) ASSERT(!_fail(x))
int main(int argc, char **argv)
igt_simple_main
{
uint32_t batch[2] = {MI_BATCH_BUFFER_END};
uint32_t handle;
@@ -240,6 +240,4 @@ int main(int argc, char **argv)
fail(many_exec(fd, handle, i+1, i, USE_LUT | BROKEN));
fail(many_exec(fd, handle, i+1, i+1, USE_LUT | BROKEN));
}
return 0;
}