mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 05:13:47 +00:00
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>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user