All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Modem, Bhanuprakash" <bhanuprakash.modem@intel.com>
To: "Hagaragi, Arundhati" <arundhati.hagaragi@intel.com>,
	"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [PATCH i-g-t] tests/kms_vblank:Added subtest description
Date: Thu, 28 Jan 2021 12:24:45 +0000	[thread overview]
Message-ID: <SN6PR11MB3327AC4E41AEC126ABEDB41E8DBA9@SN6PR11MB3327.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20210117132630.557502-1-arundhati.hagaragi@intel.com>

> -----Original Message-----
> From: igt-dev <igt-dev-bounces@lists.freedesktop.org> On Behalf Of
> Arundhati Hagaragi
> Sent: Sunday, January 17, 2021 6:57 PM
> To: igt-dev@lists.freedesktop.org
> Cc: S@freedesktop.org; B@freedesktop.org
> Subject: [igt-dev] [PATCH i-g-t] tests/kms_vblank:Added subtest
> description
> 
> Added description for all subtests
> 
> Signed-off-by: Arundhati Hagaragi <arundhati.hagaragi@intel.com>
> Cc: B S, Karthik <Karthik.B.S@intel.com>
> ---
>  tests/kms_vblank.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/kms_vblank.c b/tests/kms_vblank.c
> index b00ebec5..c71b8c24 100644
> --- a/tests/kms_vblank.c
> +++ b/tests/kms_vblank.c
> @@ -438,6 +438,7 @@ static void run_subtests_for_pipe(data_t *data)
>  			if (m->flags & ~(f->valid | NOHANG))
>  				continue;
> 
> +			igt_describe("checks if test run with NOHANG flag set");
Still, it is not clear what this test does. It would be good to add some
info about the test.

Suggestion:
If there are multiple tests available & difficult to describe in generic
way, we can add a new member "desc" to the struct funcs and print.

>  			igt_subtest_f("pipe-%s-%s-%s",
>  				      kmstest_pipe_name(data->pipe),
>  				      f->name, m->name) {
> @@ -451,6 +452,7 @@ static void run_subtests_for_pipe(data_t *data)
>  			if (f->valid & NOHANG || m->flags & NOHANG)
>  				continue;
> 
> +			igt_describe("check if injected hang is working
> properly");
>  			igt_subtest_f("pipe-%s-%s-%s-hang",
>  				      kmstest_pipe_name(data->pipe),
>  				      f->name, m->name) {
> @@ -521,9 +523,11 @@ igt_main
>  		igt_display_require_output(&data.display);
>  	}
> 
> +	igt_describe("check if test reports INVALID error for garbage
> values");

We are trying with different invalid combinations not garbage values.
How about "Negative test for vblank request" ?

>  	igt_subtest("invalid")
>  		invalid_subtest(&data, fd);
> 
> +	igt_describe("check the IOCTL events works with given crtc id");

How about s/"IOCTL events"/"Vblank & Flip events"/r ?

>  	igt_subtest("crtc-id")
>  		crtc_id_subtest(&data, fd);
> 
> --
> 2.25.1
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

      parent reply	other threads:[~2021-01-28 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17 13:26 [igt-dev] [PATCH i-g-t] tests/kms_vblank:Added subtest description Arundhati Hagaragi
2021-01-17 14:11 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-01-17 17:36 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-01-28 12:24 ` Modem, Bhanuprakash [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SN6PR11MB3327AC4E41AEC126ABEDB41E8DBA9@SN6PR11MB3327.namprd11.prod.outlook.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=arundhati.hagaragi@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.