1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 19:01:15 +01:00

Merge pull request #220 from ep1cman/master

RunConfiguration: Fixed disabling of instruments in workload specs
This commit is contained in:
setrofim 2016-08-04 16:18:52 +01:00 committed by GitHub
commit 480a054860

View File

@ -757,7 +757,7 @@ class RunConfiguration(object):
if spec.match_selectors(selectors):
instrumentation_config = self._raw_config['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)
self.workload_specs.append(spec)