Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: priyanka.dandamudi@intel.com
To: kamil.konieczny@linux.intel.com, igt-dev@lists.freedesktop.org,
	arjun.melkaveri@intel.com, priyanka.dandamudi@intel.com
Subject: [igt-dev] [PATCH i-g-t 1/2] tests/vgem_basic: Added test description for test case
Date: Wed,  9 Mar 2022 14:50:16 +0530	[thread overview]
Message-ID: <20220309092017.140761-2-priyanka.dandamudi@intel.com> (raw)
In-Reply-To: <20220309092017.140761-1-priyanka.dandamudi@intel.com>

From: Priyanka Dandamudi <priyanka.dandamudi@intel.com>

Added test description to all the available subtests.

v2: rebase

v3: Minor corrections to descriptions.

Cc: Melkaveri Arjun <arjun.melkaveri@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
---
 tests/vgem_basic.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/tests/vgem_basic.c b/tests/vgem_basic.c
index 57c575e2..2a2900f8 100644
--- a/tests/vgem_basic.c
+++ b/tests/vgem_basic.c
@@ -410,6 +410,7 @@ igt_main
 {
 	int fd = -1;
 
+	igt_describe("Basic test for handling of module unload.");
 	igt_subtest("unload")
 		test_unload();
 
@@ -417,15 +418,19 @@ igt_main
 		fd = drm_open_driver(DRIVER_VGEM);
 	}
 
+	igt_describe("Check the working of SET_VERSION ioctl.");
 	igt_subtest_f("setversion")
 		test_setversion(fd);
 
+	igt_describe("Check whether it can open multiple clients.");
 	igt_subtest_f("second-client")
 		test_client(fd);
 
+	igt_describe("Check the basic working of vgem_create ioctl.");
 	igt_subtest_f("create")
 		test_create(fd);
 
+	igt_describe("Create a vgem handle and check if it can be mmaped.");
 	igt_subtest_f("mmap")
 		test_mmap(fd);
 
@@ -434,9 +439,13 @@ igt_main
 			igt_require(has_prime_export(fd));
 		}
 
+		igt_describe("Check whether it can export/import the vgem handle"
+			     " using prime.");
 		igt_subtest("dmabuf-export")
 			test_dmabuf_export(fd);
 
+		igt_describe("Export the vgem handle along with RDWR capabilities"
+			     " using prime and check if it can be mmaped.");
 		igt_subtest("dmabuf-mmap")
 			test_dmabuf_mmap(fd);
 
@@ -445,15 +454,22 @@ igt_main
 				igt_require(vgem_has_fences(fd));
 			}
 
+			igt_describe("Check the working of dma-buf fence interop.");
 			igt_subtest("dmabuf-fence")
 				test_dmabuf_fence(fd);
+			igt_describe("Attach a fence before exporting a vgem handle"
+				     " and check the working of fence.");
 			igt_subtest("dmabuf-fence-before")
 				test_dmabuf_fence_before(fd);
 		}
 	}
 
+	igt_describe("Check the basic access to sysfs and also try to"
+		     " read entries in the directory.");
 	igt_subtest("sysfs")
 		test_sysfs_read(fd);
+	igt_describe("Check the basic access to debugfs and also try to"
+		     " read entries in the directory.");
 	igt_subtest("debugfs")
 		test_debugfs_read(fd);
 
-- 
2.25.1

  reply	other threads:[~2022-03-09  9:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-09  9:20 [igt-dev] [PATCH i-g-t 0/2] HAX add description to vgem_basic priyanka.dandamudi
2022-03-09  9:20 ` priyanka.dandamudi [this message]
2022-03-09 12:19   ` [igt-dev] [PATCH i-g-t 1/2] tests/vgem_basic: Added test description for test case Kamil Konieczny
2022-03-09  9:20 ` [igt-dev] [PATCH i-g-t 2/2] HAX: don't do full run priyanka.dandamudi
2022-03-09 13:29 ` [igt-dev] ✗ Fi.CI.BAT: failure for HAX add description to vgem_basic Patchwork

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=20220309092017.140761-2-priyanka.dandamudi@intel.com \
    --to=priyanka.dandamudi@intel.com \
    --cc=arjun.melkaveri@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox