[igt-dev] [RFC, i-g-t] Added dynamic Subtest

Petri Latvala petri.latvala at intel.com
Fri Nov 6 09:34:36 UTC 2020


On Fri, Nov 06, 2020 at 02:57:57PM +0530, nidhi1.gupta at intel.com wrote:
> From: Nidhi Gupta <nidhi1.gupta at intel.com>
> 
> Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
> ---
>  tests/kms_atomic_transition.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c
> index a71bbe10..aa2afe02 100644
> --- a/tests/kms_atomic_transition.c
> +++ b/tests/kms_atomic_transition.c
> @@ -1025,16 +1025,16 @@ igt_main
>  			run_transition_test(&display, pipe, output, TRANSITION_MODESET_DISABLE, false, false);
>  
>  	for (i = 1; i <= IGT_MAX_PIPES; i++) {
> -		igt_subtest_f("%ix-modeset-transitions", i)
> +		igt_subtest_with_dynamic_f("%ix-modeset-transitions", i)
>  			run_modeset_transition(&display, i, false, false);
>  
> -		igt_subtest_f("%ix-modeset-transitions-nonblocking", i)
> +		igt_subtest_with_dynamic_f("%ix-modeset-transitions-nonblocking", i)
>  			run_modeset_transition(&display, i, true, false);
>  
> -		igt_subtest_f("%ix-modeset-transitions-fencing", i)
> +		igt_subtest_with_dynamic_f("%ix-modeset-transitions-fencing", i)
>  			run_modeset_transition(&display, i, false, true);
>  
> -		igt_subtest_f("%ix-modeset-transitions-nonblocking-fencing", i)
> +		igt_subtest_with_dynamic_f("%ix-modeset-transitions-nonblocking-fencing", i)
>  			run_modeset_transition(&display, i, true, true);

Where are the igt_dynamic() blocks for these?


--
Petri Latvala


More information about the igt-dev mailing list