[igt-dev] [PATCH i-g-t 01/36] lib: Introduce main function macros with custom args
Arkadiusz Hiler
arkadiusz.hiler at intel.com
Fri May 24 13:50:52 UTC 2019
On Thu, May 23, 2019 at 03:26:52PM +0300, Petri Latvala wrote:
> Instead of using a custom main function and calling
> igt_subtest_init_parse_opts / igt_simple_init_parse_opts, the _args
> variants of igt_main and igt_simple_main take the relevant parameters
> and pass them along to the correct init function.
>
> Open-coding a custom main function is no longer necessary and not
> recommended.
>
> Signed-off-by: Petri Latvala <petri.latvala at intel.com>
For the whole series:
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
If you get bored again you can reformat all the long_options[] in a
consistelnt manner :->
--
Cheers,
Arek
More information about the igt-dev
mailing list