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

RunConfiguration: Fixed disabling of instruments in workload specs

This commit is contained in:
Sebastian Goscik 2016-08-04 16:16:53 +01:00
parent 77aaa0b849
commit e9ba9352a6

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)