lib: Add argc/argv to igt_simple_init
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Jul 2014 12:42:23 +0000 (14:42 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Jul 2014 13:03:59 +0000 (15:03 +0200)
commit5a98fe9d4ae7431a9c65579dcc0ac32ff3e83adf
tree0ead4fe77394c86e0b858922139d903336c17084
parentc7be53c7cb9aa7159ea316b56be119efd436ec17
lib: Add argc/argv to igt_simple_init

There's a pile of ideas around to add generally useful options like
--debug to all igt tests. Or unify the runtime behaviour between
simple and subtest tests a bit more.

The first step to get there is to add argc/argv to igt_simple_init so
that we can get at the argument list.

Cc: Tim Gore <tim.gore@intel.com>
Cc: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
18 files changed:
lib/igt_core.c
lib/igt_core.h
tests/gem_ctx_basic.c
tests/gem_exec_blt.c
tests/gem_gtt_speed.c
tests/gem_hang.c
tests/gem_render_copy.c
tests/gem_render_linear_blits.c
tests/gem_render_tiled_blits.c
tests/gem_seqno_wrap.c
tests/gem_stress.c
tests/gen3_mixed_blits.c
tests/gen3_render_linear_blits.c
tests/gen3_render_mixed_blits.c
tests/gen3_render_tiledx_blits.c
tests/gen3_render_tiledy_blits.c
tests/igt_simulation.c
tests/kms_force_connector.c