summaryrefslogtreecommitdiff
path: root/tests/gem_render_copy.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-14 14:42:23 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-14 15:03:59 +0200
commit5a98fe9d4ae7431a9c65579dcc0ac32ff3e83adf (patch)
tree0ead4fe77394c86e0b858922139d903336c17084 /tests/gem_render_copy.c
parentc7be53c7cb9aa7159ea316b56be119efd436ec17 (diff)
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>
Diffstat (limited to 'tests/gem_render_copy.c')
-rw-r--r--tests/gem_render_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_render_copy.c b/tests/gem_render_copy.c
index fd26b43f..76ba40ed 100644
--- a/tests/gem_render_copy.c
+++ b/tests/gem_render_copy.c
@@ -127,7 +127,7 @@ int main(int argc, char **argv)
int opt_dump_png = false;
int opt_dump_aub = igt_aub_dump_enabled();
- igt_simple_init();
+ igt_simple_init(argc, argv);
while ((opt = getopt(argc, argv, "d")) != -1) {
switch (opt) {