mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-07-03 05:33:42 +01:00
Fixed run command to the point of invoking the Executor
This commit is contained in:
wlauto
@ -516,8 +516,10 @@ class Configuration(object):
|
||||
|
||||
def set(self, name, value, check_mandatory=True):
|
||||
if name not in self.configuration:
|
||||
raise ConfigError('Unknown {} configuration "{}"'.format(self.name, name))
|
||||
self.configuration[name].set_value(self, value, check_mandatory=check_mandatory)
|
||||
raise ConfigError('Unknown {} configuration "{}"'.format(self.name,
|
||||
name))
|
||||
self.configuration[name].set_value(self, value,
|
||||
check_mandatory=check_mandatory)
|
||||
|
||||
def update_config(self, values, check_mandatory=True):
|
||||
for k, v in values.iteritems():
|
||||
@ -610,6 +612,9 @@ class WAConfiguration(Configuration):
|
||||
def plugins_directory(self):
|
||||
return os.path.join(self.user_directory, 'plugins')
|
||||
|
||||
@property
|
||||
def user_config_file(self):
|
||||
return os.path.joion(self.user_directory, 'config.yaml')
|
||||
|
||||
def __init__(self, environ):
|
||||
super(WAConfiguration, self).__init__()
|
||||
@ -618,7 +623,6 @@ class WAConfiguration(Configuration):
|
||||
self.set('user_directory', user_directory)
|
||||
|
||||
|
||||
|
||||
# This is generic top-level configuration for WA runs.
|
||||
class RunConfiguration(Configuration):
|
||||
|
||||
|
Reference in New Issue
Block a user