From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4F44545CB3; Fri, 8 Nov 2024 14:45:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E150433A7; Fri, 8 Nov 2024 14:45:39 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id ABF8640677 for ; Fri, 8 Nov 2024 14:45:37 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 044E5339; Fri, 8 Nov 2024 05:46:07 -0800 (PST) Received: from localhost.localdomain (unknown [10.57.59.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7391F3F528; Fri, 8 Nov 2024 05:45:36 -0800 (PST) From: Luca Vizzarro To: dev@dpdk.org Cc: Paul Szczepanek , Patrick Robb , Luca Vizzarro Subject: [PATCH v3 0/4] dts: add per-test-suite configuration Date: Fri, 8 Nov 2024 13:45:28 +0000 Message-ID: <20241108134532.130681-1-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240906161355.701688-1-luca.vizzarro@arm.com> References: <20240906161355.701688-1-luca.vizzarro@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi there, sending a v3 for the per-test-suite configuration additions. v3: - fixed bug in dts-check-format v2: - rebase - added test suites to doc pages - doc fixes - updated the custom config procedure to using tests.config - simplified the generated file - implemented the generator in dts-check-format Best regards, Luca Vizzarro Depends-on: series-33871 ("dts: Pydantic configuration") Luca Vizzarro (4): dts: add tests package to API docs dts: fix smoke tests docstring dts: add per-test-suite configuration dts: update autodoc sorting order devtools/dts-check-format.sh | 28 +++- devtools/dts-generate-tests-mappings.py | 117 +++++++++++++ doc/api/dts/framework.config.generated.rst | 8 + doc/api/dts/framework.config.rst | 7 + doc/api/dts/framework.config.test_suite.rst | 8 + doc/api/dts/index.rst | 1 + doc/api/dts/tests.TestSuite_hello_world.rst | 9 + doc/api/dts/tests.TestSuite_os_udp.rst | 9 + .../tests.TestSuite_pmd_buffer_scatter.rst | 9 + doc/api/dts/tests.TestSuite_smoke_tests.rst | 9 + doc/api/dts/tests.TestSuite_vlan.rst | 10 ++ doc/api/dts/tests.config.rst | 9 + doc/api/dts/tests.rst | 20 +++ doc/guides/conf.py | 1 + doc/guides/tools/dts.rst | 23 +++ dts/conf.yaml | 4 +- dts/framework/config/__init__.py | 76 +-------- dts/framework/config/generated.py | 25 +++ dts/framework/config/test_suite.py | 154 ++++++++++++++++++ dts/framework/runner.py | 69 ++++++-- dts/framework/settings.py | 30 ++-- dts/framework/test_result.py | 15 +- dts/framework/test_suite.py | 22 ++- dts/tests/TestSuite_hello_world.py | 5 +- dts/tests/TestSuite_smoke_tests.py | 2 - dts/tests/__init__.py | 7 + dts/tests/config.py | 20 +++ 27 files changed, 580 insertions(+), 117 deletions(-) create mode 100755 devtools/dts-generate-tests-mappings.py create mode 100644 doc/api/dts/framework.config.generated.rst create mode 100644 doc/api/dts/framework.config.test_suite.rst create mode 100644 doc/api/dts/tests.TestSuite_hello_world.rst create mode 100644 doc/api/dts/tests.TestSuite_os_udp.rst create mode 100644 doc/api/dts/tests.TestSuite_pmd_buffer_scatter.rst create mode 100644 doc/api/dts/tests.TestSuite_smoke_tests.rst create mode 100644 doc/api/dts/tests.TestSuite_vlan.rst create mode 100644 doc/api/dts/tests.config.rst create mode 100644 doc/api/dts/tests.rst create mode 100644 dts/framework/config/generated.py create mode 100644 dts/framework/config/test_suite.py create mode 100644 dts/tests/__init__.py create mode 100644 dts/tests/config.py -- 2.43.0