[PATCH v4 0/7] dts: refactor configuration
Luca Vizzarro
luca.vizzarro at arm.com
Fri Jan 24 12:39:02 CET 2025
v4:
- fixed bug where the CLI overrides where not being picked up
when values were not set in the config and/or the defaults
were available
- added new comment in the configuration example file to indicate
that all test suites are run if none are specified
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 | 59 ++
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 | 34 ++
dts/tests/TestSuite_smoke_tests.py | 2 +-
25 files changed, 812 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