[igt-dev] [PATCH i-g-t] tests/testdisplay: Add test description

Karthik B S karthik.b.s at intel.com
Thu Sep 8 10:51:27 UTC 2022


On 9/7/2022 3:13 PM, Swati Sharma wrote:
> Added test description. Also, removed extra newlines.
>
> Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
> ---
>   tests/testdisplay.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/testdisplay.c b/tests/testdisplay.c
> index d45a722bf..ee272dfb2 100644
> --- a/tests/testdisplay.c
> +++ b/tests/testdisplay.c
> @@ -69,6 +69,8 @@
>   #include <stdlib.h>
>   #include <signal.h>
>   
> +IGT_TEST_DESCRIPTION("Tests basic display functionality.");
> +
>   enum {
>   	OPT_YB,
>   	OPT_YF,
> @@ -427,7 +429,6 @@ set_stereo_mode(struct connector *c)
>   {
>   	int i, n;
>   
> -
>   	if (specified_mode_num != -1)
>   		n = 1;
>   	else
> @@ -515,7 +516,6 @@ int update_display(bool probe)
>   			if (test_preferred_mode || force_mode ||
>   			    specified_mode_num != -1)
>   				crtc_idx_mask &= ~(1 << connector->pipe);
> -
>   		}
>   	}
>   




More information about the igt-dev mailing list