[igt-dev] [PATCH i-g-t] tests/kms_getfb: Use fixtures and subtest groups

Daniel Stone daniel at fooishbar.org
Mon Apr 2 13:02:02 UTC 2018


Hi Antonio,

On 30 March 2018 at 22:01, Antonio Argenziano
<antonio.argenziano at intel.com> wrote:
> Since both test_handle_input and test_duplicate_handles define some
> sub-tests and some fixtures, I think it would be better to unwrap those
> functions and do all fixtures and subtest definition in igt_main to make it
> more readable. It seems like you would also be able to reuse the same
> fixture across the two subtest_groups.

To be clear, does this mean that each piece of fixture and igt_subtest
definition should live inside main?

Cheers,
Daniel


More information about the igt-dev mailing list