[PATCH 0/4] dts: error and usage improvements
Luca Vizzarro
luca.vizzarro at arm.com
Mon Jan 22 19:26:07 CET 2024
As mentioned in my previous DTS docs improvement patch series, here are
some usage improvements to DTS. The main purpose is to give the
first-time user of DTS some more meaningful messages of its usage.
Secondly, report back stderr to the user when remote commands fail. For
example, if DTS tries to run any program which is not installed on the
target node, it will just say that it failed with its return code. The
only way to see the actual error message is through the DEBUG level of
verbosity. Rightfully though, errors should be logged as ERROR.
Best,
Luca
Luca Vizzarro (4):
dts: constrain DPDK source flag
dts: customise argparse error message
dts: show help when DTS is ran without args
dts: log stderr with failed remote commands
doc/guides/tools/dts.rst | 8 +-
dts/framework/exception.py | 10 ++-
.../remote_session/remote_session.py | 2 +-
dts/framework/settings.py | 83 ++++++++++++++-----
dts/framework/utils.py | 43 ++++++----
5 files changed, 104 insertions(+), 42 deletions(-)
--
2.34.1
More information about the dev
mailing list