Skip to content
Commit 0e7435ee authored by Joel Goddard's avatar Joel Goddard Committed by Diego Sueiro
Browse files

tools/kas-runner: Refactor to allow config file validation



Added classes to manage settings that can be set from both
command line arguments and config files. Each setting is
only defined once. Default config has been merged with new
settings classes so settings are defined in one place.

Settings can have optional resolve functions for extra
processing and validation. Internal settings are excluded
from command line and config files.

ArgumentDictionary is replaced with RunnerSettings which
provides helpers for validation and resolution of configs.
Setting values are now accessed as variables on the
RunnerSettomgs.

Note: Arguments previously set with the format '%(arg)s'
should now use '{arg}' instead.
Note: Some logging has changed.

Issue-Id: SCM-3900
Signed-off-by: Joel Goddard's avatarJoel Goddard <joel.goddard@arm.com>
Change-Id: Iec9f418ad776e801470467a7f3aa16e546212b13
parent e3be2609
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment