mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-22 12:58:36 +00:00
Merge pull request #220 from ep1cman/master
RunConfiguration: Fixed disabling of instruments in workload specs
This commit is contained in:
commit
480a054860
@ -757,7 +757,7 @@ class RunConfiguration(object):
|
|||||||
if spec.match_selectors(selectors):
|
if spec.match_selectors(selectors):
|
||||||
instrumentation_config = self._raw_config['instrumentation']
|
instrumentation_config = self._raw_config['instrumentation']
|
||||||
for instname in spec.instrumentation:
|
for instname in spec.instrumentation:
|
||||||
if instname not in instrumentation_config:
|
if instname not in instrumentation_config and not instname.startswith('~'):
|
||||||
instrumentation_config.append(instname)
|
instrumentation_config.append(instname)
|
||||||
self.workload_specs.append(spec)
|
self.workload_specs.append(spec)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user