[igt-dev] [i-g-t V3 05/82] testplan/kms: Add support to differentiate b/w drivers

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Tue May 23 06:45:36 UTC 2023


On Tue, 23 May 2023 12:01:26 +0530
Bhanuprakash Modem <bhanuprakash.modem at intel.com> wrote:

> Add support to differentiate the subtests based on the driver
> support, since many kms tests supports both i915 & xe drivers.
> 
> Add a new field "Driver requirement" to test_config.json
> 
> Example:
> - Driver requirement: i915 (i915 specific test)
> - Driver requirement: xe   (xe specific test)
> - Driver requirement: any  (tests supports both i915 & xe)
> 
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>

LGTM.
Reviewed-by: Mauro Carvalho Chehab <mchehab at kernel.org>

> ---
>  tests/kms_test_config.json | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/tests/kms_test_config.json b/tests/kms_test_config.json
> index b81b3ba55..e563bbd12 100644
> --- a/tests/kms_test_config.json
> +++ b/tests/kms_test_config.json
> @@ -22,6 +22,11 @@
>                  "description": "Defines what category of testlist it belongs"
>              }
>          },
> +        "Driver requirement": {
> +            "_properties_": {
> +                "description": "Describes any Driver specific requrirement, like i915/xe."
> +            }
> +        },
>          "Test category": {
>              "_properties_": {
>                  "description": "Defines the test category. Usually used at subtest level."


More information about the igt-dev mailing list