All of lore.kernel.org
 help / color / mirror / Atom feed
From: priyanka.dandamudi@intel.com
To: kamil.konieczny@linux.intel.com, igt-dev@lists.freedesktop.org,
	priyanka.dandamudi@intel.com
Subject: [igt-dev] [PATCH i-g-t 1/2] prime_self_import: Add description for test
Date: Tue, 26 Apr 2022 12:50:48 +0530	[thread overview]
Message-ID: <20220426072049.518210-2-priyanka.dandamudi@intel.com> (raw)
In-Reply-To: <20220426072049.518210-1-priyanka.dandamudi@intel.com>

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

Add description for test.

v2: add description to tests[].

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

diff --git a/tests/prime_self_import.c b/tests/prime_self_import.c
index 38a554396..bf5486194 100644
--- a/tests/prime_self_import.c
+++ b/tests/prime_self_import.c
@@ -429,19 +429,29 @@ igt_main
 	struct {
 		const char *name;
 		void (*fn)(void);
+		const char *describe;
 	} tests[] = {
-		{ "basic-with_one_bo", test_with_one_bo },
-		{ "basic-with_one_bo_two_files", test_with_one_bo_two_files },
-		{ "basic-with_two_bos", test_with_two_bos },
-		{ "basic-with_fd_dup", test_with_fd_dup },
-		{ "export-vs-gem_close-race", test_export_close_race },
-		{ "reimport-vs-gem_close-race", test_reimport_close_race },
-		{ "basic-llseek-size", test_llseek_size },
-		{ "basic-llseek-bad", test_llseek_bad },
+		{ "basic-with_one_bo", test_with_one_bo,
+			"Check prime import/export with one buffer object." },
+		{ "basic-with_one_bo_two_files", test_with_one_bo_two_files,
+			"Check prime/flink with one buffer object." },
+		{ "basic-with_two_bos", test_with_two_bos,
+			"Check prime import/export with two buffer objects."},
+		{ "basic-with_fd_dup", test_with_fd_dup,
+			"Check prime export with duplicate fd."},
+		{ "export-vs-gem_close-race", test_export_close_race,
+			"Check race of gem close against prime export." },
+		{ "reimport-vs-gem_close-race", test_reimport_close_race,
+			"Check race of gem close against reimport." },
+		{ "basic-llseek-size", test_llseek_size,
+			"Check dmabuf llseek support." },
+		{ "basic-llseek-bad", test_llseek_bad,
+			"Check dmabuf llseek support with invalid values."},
 	};
 	int i;
 
 	for (i = 0; i < ARRAY_SIZE(tests); i++) {
+		igt_describe(tests[i].describe);
 		igt_subtest(tests[i].name)
 			tests[i].fn();
 	}
-- 
2.25.1

  reply	other threads:[~2022-04-26  7:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-26  7:20 [igt-dev] [PATCH i-g-t 0/2] HAX add description to prime_self_import priyanka.dandamudi
2022-04-26  7:20 ` priyanka.dandamudi [this message]
2022-04-26 23:20   ` [igt-dev] [PATCH i-g-t 1/2] prime_self_import: Add description for test Kamil Konieczny
2022-04-26  7:20 ` [igt-dev] [PATCH i-g-t 2/2] HAX: don't do full run priyanka.dandamudi
2022-04-26  7:31 ` [igt-dev] ✗ Fi.CI.BUILD: failure for HAX add description to prime_self_import (rev2) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2022-03-21 13:12 [igt-dev] [PATCH i-g-t 0/2] HAX add description to prime_self_import priyanka.dandamudi
2022-03-21 13:12 ` [igt-dev] [PATCH i-g-t 1/2] prime_self_import: Add description for test priyanka.dandamudi
2022-03-23 13:51   ` Kamil Konieczny

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=20220426072049.518210-2-priyanka.dandamudi@intel.com \
    --to=priyanka.dandamudi@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 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.