lib: igt_simple_main/init for subtest-less tests

Atm only used to print the version information.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2013-12-10 09:41:48 +01:00
parent f1c4ec936c
commit ef9745b7fa
3 changed files with 17 additions and 3 deletions
+5
View File
@@ -932,6 +932,11 @@ void igt_subtest_init(int argc, char **argv)
optind = 1;
}
void igt_simple_init(void)
{
print_version();
}
/*
* Note: Testcases which use these helpers MUST NOT output anything to stdout
* outside of places protected by igt_run_subtest checks - the piglit