commit | b3880d3a969656b78fe246e5ca4dd5a4a2c70ef5 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Aug 14 18:02:46 2013 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Aug 14 18:02:46 2013 +0200 |
tree | 471f1d9f81ec5299615cf59cb1787afac09a5367 | |
parent | c3dd8a8c85b3e1a4329282cbe82fd7f387cd2643 [diff] |
tests: roll out igt_fixture Also sprinkle igt_assert and igt_require over the setup code to clean up code while at it. To avoid gcc getting upset about unitialized variables just move them out of main as global data (where they always get initialized to 0) - gcc can't see through our igt_fixture and igt_subtest maze properly. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>