mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-24 06:43:01 +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:
@@ -54,7 +54,7 @@ static unsigned int readit(const char *path)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
igt_simple_main
|
||||
{
|
||||
const int device = drm_get_card();
|
||||
char *path, *pathp, *pathpp;
|
||||
@@ -116,6 +116,4 @@ int main(int argc, char *argv[])
|
||||
"running and running no other tests)\n");
|
||||
igt_fail(1);
|
||||
}
|
||||
|
||||
igt_success();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user