From 5a98fe9d4ae7431a9c65579dcc0ac32ff3e83adf Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 14 Jul 2014 14:42:23 +0200 Subject: 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 Cc: Thomas Wood Signed-off-by: Daniel Vetter --- tests/gem_ctx_basic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/gem_ctx_basic.c') diff --git a/tests/gem_ctx_basic.c b/tests/gem_ctx_basic.c index 3e9b6880..a2464fde 100644 --- a/tests/gem_ctx_basic.c +++ b/tests/gem_ctx_basic.c @@ -149,7 +149,7 @@ int main(int argc, char *argv[]) { int i; - igt_simple_init(); + igt_simple_init(argc, argv); fd = drm_open_any_render(); devid = intel_get_drm_devid(fd); -- cgit v1.2.3