From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id CE7F110E973 for ; Tue, 26 Apr 2022 23:20:20 +0000 (UTC) Date: Wed, 27 Apr 2022 01:20:16 +0200 From: Kamil Konieczny To: igt-dev@lists.freedesktop.org Message-ID: References: <20220426072049.518210-1-priyanka.dandamudi@intel.com> <20220426072049.518210-2-priyanka.dandamudi@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220426072049.518210-2-priyanka.dandamudi@intel.com> Subject: Re: [igt-dev] [PATCH i-g-t 1/2] prime_self_import: Add description for test List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Hi Priyanka, On 2022-04-26 at 12:50:48 +0530, priyanka.dandamudi@intel.com wrote: > From: Priyanka Dandamudi > > Add description for test. > > v2: add description to tests[]. > Lgtm, Reviewed-by: Kamil Konieczny -- Kamil > Signed-off-by: Priyanka Dandamudi > Cc: Kamil Konieczny > Cc: Arjun Melkaveri > --- > 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 >