Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: "Modem, Bhanuprakash" <bhanuprakash.modem@intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 2/4] tests/kms_feature_discovery: add testplan documentation
Date: Tue, 12 Sep 2023 12:09:47 +0530	[thread overview]
Message-ID: <353050ea-4eef-fa41-48e7-7c08deb62da6@intel.com> (raw)
In-Reply-To: <d842a5c9-a95c-77d9-ce08-6f39197beae7@intel.com>

On 11-Sep-23 7:57 PM, Modem, Bhanuprakash wrote:
> Hi Swati,
> 
> On Fri-08-09-2023 12:30 pm, Swati Sharma wrote:
>> Add testplan documentation for the subtests.
>>
>> Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
>> Acked-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
>> ---
>>   tests/kms_feature_discovery.c | 53 ++++++++++++++++++++++++++++++++++-
>>   1 file changed, 52 insertions(+), 1 deletion(-)
>>
>> diff --git a/tests/kms_feature_discovery.c 
>> b/tests/kms_feature_discovery.c
>> index d1f4b1633..49958fd88 100644
>> --- a/tests/kms_feature_discovery.c
>> +++ b/tests/kms_feature_discovery.c
>> @@ -22,6 +22,58 @@
>>    *
>>    */
>> +/**
>> + * TEST: kms feature discovery
>> + * Category: Display
>> + * Description: A metatest that checks for \"features\" presence.
>> + *        The subtests here should only skip or pass,
>> + *        anything else means we have a serious problem.
>> + *
>> + * SUBTEST: display
>> + * Description: Make sure that we have display support with
>> + *         some outputs connected.
>> + * Driver requirement: i915, xe
>> + * Functionality: feature_discovery
>> + * Mega feature: General Display Features
>> + * Run type: FULL
> 
> Please drop Run type for every test.

Done.

> 
>> + * Test category: functionality test
>> + *
>> + * SUBTEST: display-%dx
> 
> Just for readability purpose, please move this test group to end of the 
> list.

I guess its better here only, display test followed by display-2x/3x/4x
tests. Its kind of one group.

> 
>> + * Description: Make sure that we have display support with %arg[1]
>> + *         outputs connected.
>> + * Driver requirement: i915, xe
>> + * Functionality: feature_discovery
>> + * Mega feature: General Display Features
>> + * Run type: FULL
>> + * Test category: functionality test
>> + *
>> + * SUBTEST: chamelium
>> + * Description: Make sure that Chamelium is configured and reachable.
>> + * Driver requirement: i915, xe
>> + * Functionality: feature_discovery, chamelium
>> + * Mega feature: General Display Features
>> + * Run type: FULL
>> + * Test category: functionality test
>> + *
>> + * SUBTEST: psr1
>> + * Description: Make sure that we have eDP panel with PSR1 support.
>> + * Driver requirement: i915, xe
>> + * Functionality: feature_discovery, psr1, eDP
>> + * Mega feature: General Display Features
> 
> Mega feature should be PSR.

Done

> 
>> + * Run type: FULL
>> + * Test category: functionality test
>> + *
>> + * SUBTEST: psr2
>> + * Description: Make sure that we have eDP panel with PSR2 support.
>> + * Driver requirement: i915, xe
>> + * Functionality: feature_discovery, psr2, eDP
>> + * Mega feature: General Display Features
> 
> Mega feature should be PSR.

Done

> 
>> + * Run type: FULL
>> + * Test category: functionality test
>> + *
>> + * arg[1].values: 2, 3, 4
>> + */
>> +
>>   #include "igt.h"
>>   #ifdef HAVE_CHAMELIUM
>>   #include "igt_chamelium.h"
>> @@ -46,7 +98,6 @@ igt_main {
>>       }
>>       igt_subtest_group {
>> -
> 
> Nit: Unrelated change.
> 
> - Bhanu
> 
>>           igt_fixture {
>>               igt_display_require(&display, fd);
>>           }

  reply	other threads:[~2023-09-12  6:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08  7:00 [igt-dev] [PATCH i-g-t 0/4] enable feature-discovery tests Swati Sharma
2023-09-08  7:00 ` [igt-dev] [PATCH i-g-t 1/4] tests: rename feature_discovery to kms_feature_discovery Swati Sharma
2023-09-08 16:59   ` Kamil Konieczny
2023-09-11 14:24   ` Modem, Bhanuprakash
2023-09-08  7:00 ` [igt-dev] [PATCH i-g-t 2/4] tests/kms_feature_discovery: add testplan documentation Swati Sharma
2023-09-11 14:27   ` Modem, Bhanuprakash
2023-09-12  6:39     ` Sharma, Swati2 [this message]
2023-09-08  7:00 ` [igt-dev] [PATCH i-g-t 3/4] tests/intel-ci: remove feature_discovery from blocklist Swati Sharma
2023-09-11 14:28   ` Modem, Bhanuprakash
2023-09-08  7:00 ` [igt-dev] [PATCH i-g-t 4/4] tests/kms_feature_discovery: detect mst configuration Swati Sharma
2023-09-11 14:30   ` Modem, Bhanuprakash
2023-09-08  8:06 ` [igt-dev] ✓ CI.xeBAT: success for enable feature-discovery tests (rev2) Patchwork
2023-09-08  8:11 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-09-08 13:17 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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=353050ea-4eef-fa41-48e7-7c08deb62da6@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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