intel-gpu-tools: add igt_core init func calls to some tests

igt-core.h/c provides some macros and initialisation
functions to support the tests but some of the single
tests do not use these. Modifying these tests to use
the igt_simple_main macro and igt_simple_init function
is the first step towards a consistent command line
across all tests.

Signed-off-by: Tim Gore <tim.gore@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Tim Gore
2014-06-20 11:28:12 +01:00
committed by Thomas Wood
parent 236d6bd2d3
commit 8abca6fd14
6 changed files with 8 additions and 12 deletions
+2
View File
@@ -72,6 +72,8 @@ int main(int argc, char **argv)
{
int fd;
igt_simple_init();
igt_assert_f(argc == 2,
"usage: %s <disabled pipe number>\n",
argv[0]);