Re: [PATCH i-g-t] tests/drv_selftest: Allow passing in module options from the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Tvrtko Ursulin (2018-11-20 18:07:57)
> From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> 
> A new option '--kmod-options' is added which takes a string which will be
> passed to modprobe when loading the module.
> 
> This for instance allows easy override of things like the random seed when
> trying to reproduce failures.
 
Anyway we can simply extend the option parsing locally? (Just find it
unsightly to have test specific options in libigt.)

Stashing argc/argv in igt_subtest_init_parse_opts() and then being able
to run getopts inside igt_main {}?

I also had in mind an env for module options, which may be also useful
for the module reloading and autoloading.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux