From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0AA0E10E7B1 for ; Tue, 29 Mar 2022 08:19:16 +0000 (UTC) Date: Tue, 29 Mar 2022 10:19:12 +0200 From: Kamil Konieczny To: igt-dev@lists.freedesktop.org Message-ID: References: <20220317053003.402-1-sai.gowtham.ch@intel.com> <20220317053003.402-2-sai.gowtham.ch@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220317053003.402-2-sai.gowtham.ch@intel.com> Subject: Re: [igt-dev] [PATCH i-g-t 1/2] tests/i915/gem_basic: Added test description for test case. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sai Gowtham Ch Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Hi, Dnia 2022-03-17 at 11:00:02 +0530, sai.gowtham.ch@intel.com napisaƂ(a): > From: Ch Sai Gowtham > > Added test description to all the available subtests. > > Cc: Melkaveri Arjun > Cc: Kamil Konieczny > Signed-off-by: Ch Sai Gowtham > --- > tests/i915/gem_basic.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/tests/i915/gem_basic.c b/tests/i915/gem_basic.c > index 13ecce52..17ae190c 100644 > --- a/tests/i915/gem_basic.c > +++ b/tests/i915/gem_basic.c > @@ -39,6 +39,8 @@ > #include "drm.h" > #include "i915/gem_create.h" > > +IGT_TEST_DESCRIPTION("Tests basic gem_create and gem_close IOCTLs"); > + > static void > test_bad_close(int fd) > { > @@ -83,10 +85,15 @@ igt_main > igt_fixture > fd = drm_open_driver(DRIVER_INTEL); > > + igt_describe("Verify that gem_close fails with bad params."); > igt_subtest("bad-close") > test_bad_close(fd); > + > + igt_describe("Verify basic functionality of gem_create and gem_close."); > igt_subtest("create-close") > test_create_close(fd); > + > + igt_describe("Verify that closing drm driver is possible with opened gem object."); > igt_subtest("create-fd-close") > test_create_fd_close(fd); > } > -- > 2.35.1 > Looks good to me, Reviewed-by: Kamil Konieczny -- Kamil