mbox series

[v2,0/4] dts: add per-test-suite configuration

Message ID 20241108133842.123782-1-luca.vizzarro@arm.com (mailing list archive)
Headers
Series dts: add per-test-suite configuration |

Message

Luca Vizzarro Nov. 8, 2024, 1:38 p.m. UTC
Hi there,

sending a v2 for the per-test-suite configuration additions.

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