1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-06-18 06:16:05 +01:00

framework/configuration: fix connection_settings configuration

Connection settings were not being properly extracted from device_config
and not used. Meaning it was impossible to e.g. specify the adb device
to use for a run.

This ensures that connection settings are extracted, validated, and used
properly.
This commit is contained in:
Sergei Trofimov
2017-09-18 11:27:16 +01:00
parent 04d5ec4277
commit aec89a077e
2 changed files with 85 additions and 8 deletions
wa/framework
configuration
target

@ -152,7 +152,7 @@ class PluginCache(object):
def _get_target_params(self, name):
td = self.targets[name]
params = {p.name: p for p in chain(td.target_params, td.platform_params)}
params = {p.name: p for p in chain(td.target_params, td.platform_params, td.conn_params)}
#params['connection_settings'] = {p.name: p for p in td.conn_params}
return params