[igt-dev] [PATCH i-g-t] lib/igt_core: Ensure subtest result is skip if all dynamic subtests skip

Petri Latvala petri.latvala at intel.com
Thu Dec 16 06:37:32 UTC 2021


On Wed, Dec 15, 2021 at 06:31:46AM -0800, Dixit, Ashutosh wrote:
> On Wed, 15 Dec 2021 02:35:06 -0800, Petri Latvala wrote:
> >
> > Even though the best practices for dynamic subtests is to not execute
> > the dynamic subtest at all instead of skipping, there are a couple of
> > tests that to the opposite, without an easy way to construct them
> > along best practices. Accomodate this with fixing the handling of
> > skipping dynamic subtests so that the result of the containing subtest
> > becomes a skip also if all dynamic subtests skip, not just when there
> > are no dynamic subtests.
> 
> I have seen this happen and the patch should convert a success exit status
> to a skip exit status so this is:
> 
> Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

Thanks, merged.


-- 
Petri Latvala


More information about the igt-dev mailing list