diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-10 09:41:48 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-10 09:41:48 +0100 |
commit | ef9745b7faf42b1273c63de6f3e4afcbb896e568 (patch) | |
tree | 79d635ca00227de4eb6c43e2178b4081dae945df /lib/drmtest.c | |
parent | f1c4ec936c97c4b2f906638180357c8786776316 (diff) |
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>
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r-- | lib/drmtest.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c index 943a6cfc..3d79a4d3 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -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 |