[igt-dev] [i-g-t V5 2/7] testplan/kms: Move kms testplan to intel dir

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Thu Aug 31 15:56:11 UTC 2023


On Thu, 31 Aug 2023 20:26:17 +0530
Bhanuprakash Modem <bhanuprakash.modem at intel.com> wrote:

> As this testplan is specific to the Intel hardware, the correct
> place for it is inside the tests/i915/.
> 
> V2: - Fix the included files path
> V3: - Rebase
> 
> Cc: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>

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

> ---
>  docs/testplan/meson.build             | 2 +-
>  tests/{ => i915}/kms_test_config.json | 6 +++---
>  2 files changed, 4 insertions(+), 4 deletions(-)
>  rename tests/{ => i915}/kms_test_config.json (86%)
> 
> diff --git a/docs/testplan/meson.build b/docs/testplan/meson.build
> index e838f2eb1..8d3ad952d 100644
> --- a/docs/testplan/meson.build
> +++ b/docs/testplan/meson.build
> @@ -7,7 +7,7 @@ rst2pdf = find_program('rst2pdf', required: false)
>  stylesheet = join_paths(meson.current_source_dir(), 'testplan.css')
>  
>  xe_test_config = join_paths(source_root, 'tests', 'xe', 'xe_test_config.json')
> -kms_test_config = join_paths(source_root, 'tests', 'kms_test_config.json')
> +kms_test_config = join_paths(source_root, 'tests', 'i915', 'kms_test_config.json')
>  i915_test_config = join_paths(source_root, 'tests', 'i915', 'i915_test_config.json')
>  
>  check_testlist = []
> diff --git a/tests/kms_test_config.json b/tests/i915/kms_test_config.json
> similarity index 86%
> rename from tests/kms_test_config.json
> rename to tests/i915/kms_test_config.json
> index 9219ae4eb..4130b7d6d 100644
> --- a/tests/kms_test_config.json
> +++ b/tests/i915/kms_test_config.json
> @@ -1,9 +1,9 @@
>  {
>      "description": "JSON file to be used to parse KMS documentation",
>      "name": "Display and KMS Tests for Intel i915 and Xe Drivers",
> -    "files": [ "chamelium/kms_*.c", "i915/kms_*.c", "kms_*.c", "testdisplay.c" ],
> -    "exclude_files": [ "chamelium/kms_chamelium_helper.c", "i915/kms_dsc_helper.c",
> -                       "kms_color_helper.c"],
> +    "files": [ "../chamelium/kms_*.c", "../kms_*.c", "../testdisplay.c", "kms_*.c" ],
> +    "exclude_files": [ "../chamelium/kms_chamelium_helper.c", "../kms_color_helper.c",
> +                       "kms_dsc_helper.c" ],
>      "fields": {
>          "Category": {
>              "_properties_": {


More information about the igt-dev mailing list