[PATCH v3 0/7] dts: refactor configuration
Luca Vizzarro
luca.vizzarro at arm.com
Wed Jan 15 15:18:02 CET 2025
Hi there,
sending in a v3, which also merges the split nodes and test runs
configuration into this series.
v3:
- rebase
- rework code for Pydantic
- fixed architecture bug for arm
- updated doc pages
- implemented CLI overrides in Pydantic
- changed default behaviour of test suites config field
- prefixed the template configuration files with example
allowing users to place their own configuration files
where the defaults would stay. Also added these to
.gitignore
Best,
Luca
Luca Vizzarro (3):
dts: handle CLI overrides in the configuration
dts: split configuration file
dts: run all test suites by default
Nicholas Pratte (4):
dts: enable arch self-discovery
dts: simplify build options config
dts: infer use first core without config
dts: rework DPDK attributes in SUT node config
doc/guides/tools/dts.rst | 78 ++-
dts/.gitignore | 4 +
dts/conf.yaml | 90 ---
dts/framework/config/__init__.py | 512 ++----------------
dts/framework/config/common.py | 34 ++
dts/framework/config/node.py | 144 +++++
dts/framework/config/test_run.py | 304 +++++++++++
dts/framework/runner.py | 33 +-
dts/framework/settings.py | 37 +-
dts/framework/test_result.py | 4 +-
dts/framework/testbed_model/cpu.py | 26 +-
dts/framework/testbed_model/linux_session.py | 5 +-
dts/framework/testbed_model/node.py | 25 +-
dts/framework/testbed_model/os_session.py | 14 +-
dts/framework/testbed_model/port.py | 2 +-
dts/framework/testbed_model/posix_session.py | 6 +-
dts/framework/testbed_model/sut_node.py | 26 +-
dts/framework/testbed_model/tg_node.py | 2 +-
dts/framework/testbed_model/topology.py | 2 +-
.../traffic_generator/__init__.py | 2 +-
.../testbed_model/traffic_generator/scapy.py | 2 +-
.../traffic_generator/traffic_generator.py | 2 +-
dts/nodes.example.yaml | 53 ++
dts/test_runs.example.yaml | 33 ++
dts/tests/TestSuite_smoke_tests.py | 2 +-
25 files changed, 786 insertions(+), 656 deletions(-)
create mode 100644 dts/.gitignore
delete mode 100644 dts/conf.yaml
create mode 100644 dts/framework/config/common.py
create mode 100644 dts/framework/config/node.py
create mode 100644 dts/framework/config/test_run.py
create mode 100644 dts/nodes.example.yaml
create mode 100644 dts/test_runs.example.yaml
--
2.43.0
More information about the dev
mailing list