From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8EFF610E36F for ; Mon, 27 Mar 2023 13:32:11 +0000 (UTC) Received: from linux.intel.com (unknown [10.252.3.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id EA98A580D2C for ; Mon, 27 Mar 2023 06:31:59 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96) (envelope-from ) id 1pgmx4-00ABn6-01 for igt-dev@lists.freedesktop.org; Mon, 27 Mar 2023 15:31:58 +0200 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Mon, 27 Mar 2023 15:31:44 +0200 Message-Id: <20230327133155.2428454-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 00/11] Improve igt_doc.py List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Mauro Carvalho Chehab This series do some improvements at the igt_doc.py tool: - It does some tweaks at the Xe documentation hierarchy; - It adds support to generate test lists from documentation; - It splits the script on two parts: one with the TestList class definition and another one with the toll itself; - While here, add missing documentation for two new tests; - Check if the documentation matches the actual tests at build time, in order to prevent it to become outdated. Mauro Carvalho Chehab (11): xe_test_config.json: do some adjustments at the output hierarchy scripts/igt_doc.py: move show_subtests logic to the class scripts/igt_doc.py: add support to generate testlists scripts/igt_doc.py: prepare to place TestList class on a separate file scripts/test_list.py: prepare to place class on a separate file scripts/igt_doc.py: re-introduce it by calling test_list.py scripts/test_list.py: better handle documentation validation issues scripts/test_list.py: add support for igt_simple_main testplan/meson.build: Validate documentation at build time xe/xe_vm: add documentation for igt@xe_vm@userptr-invalid xe/xe_noexec_ping_pong: document subtest docs/testplan/meson.build | 8 +- meson.build | 1 + scripts/igt_doc.py | 1038 +----------------------------- scripts/test_list.py | 1084 ++++++++++++++++++++++++++++++++ tests/xe/xe_noexec_ping_pong.c | 26 +- tests/xe/xe_test_config.json | 30 +- tests/xe/xe_vm.c | 10 +- 7 files changed, 1143 insertions(+), 1054 deletions(-) create mode 100755 scripts/test_list.py -- 2.39.2