All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Melkaveri, Arjun" <arjun.melkaveri@intel.com>
To: priyanka.dandamudi@intel.com
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH] [PATCH i-g-t] i915/gem_reg_read: Added description for test case
Date: Tue, 30 Jun 2020 11:53:28 +0530	[thread overview]
Message-ID: <20200630062325.GA2976@arjun-NUC8i7BEH> (raw)
In-Reply-To: <20200629125948.8734-1-priyanka.dandamudi@intel.com>

On Mon, Jun 29, 2020 at 06:29:48PM +0530, priyanka.dandamudi@intel.com wrote:
> From: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
> 
> Added test description for test and to all 3 subtests.
> 
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
> ---
>  tests/i915/gem_reg_read.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/tests/i915/gem_reg_read.c b/tests/i915/gem_reg_read.c
> index 79facc1f..dfc2560e 100644
> --- a/tests/i915/gem_reg_read.c
> +++ b/tests/i915/gem_reg_read.c
> @@ -32,6 +32,7 @@
>  #include <sys/utsname.h>
>  #include <time.h>
>  
> +IGT_TEST_DESCRIPTION("Test the basic register read ioctl.");
Can you add more information about type of registers this test would check in description.
>  
>  static bool is_x86_64;
>  static bool has_proper_timestamp;
> @@ -156,14 +157,19 @@ igt_main
>  		has_proper_timestamp = check_timestamp(fd);
>  	}
>  
> +	igt_describe("Verifies reading bad register result in error or not.");
>  	igt_subtest("bad-register")
>  		igt_assert_eq(read_register(fd, 0x12345678, &val), -EINVAL);
>  
> +	igt_describe("Checks whether the timestamp register is getting"
> +		     " updated when any operation(noop) is being performed.");
>  	igt_subtest("timestamp-moving") {
>  		igt_skip_on(timer_query(fd, &val) != 0);
>  		test_timestamp_moving(fd);
>  	}
>  
> +	igt_describe("Checks whether timestamp is monotonic while performing"
> +		     " an operation(noop) in a loop.");
>  	igt_subtest("timestamp-monotonic") {
>  		igt_skip_on(timer_query(fd, &val) != 0);
>  		test_timestamp_monotonic(fd);
> -- 
> 2.26.2
> 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2020-06-30  6:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29 12:59 [igt-dev] [PATCH] [PATCH i-g-t] i915/gem_reg_read: Added description for test case priyanka.dandamudi
2020-06-29 18:17 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-06-30  6:03 ` [igt-dev] [PATCH] [PATCH i-g-t] " Melkaveri, Arjun
2020-06-30  6:23 ` Melkaveri, Arjun [this message]
2020-06-30  8:50 ` [igt-dev] ✗ Fi.CI.BUILD: failure for i915/gem_reg_read: Added description for test case (rev2) Patchwork
2020-07-01  7:55 [igt-dev] [PATCH] [PATCH i-g-t] i915/gem_reg_read: Added description for test case priyanka.dandamudi

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=20200630062325.GA2976@arjun-NUC8i7BEH \
    --to=arjun.melkaveri@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=priyanka.dandamudi@intel.com \
    /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.