1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-03 11:52:36 +01:00

framework: move instruments -> instrument

Use the singular to be consistent with other modules in wa.framework.
This commit is contained in:
Sergei Trofimov
2018-02-16 14:09:02 +00:00
committed by setrofim
parent b7aa7d68b5
commit 12a33c8aeb
9 changed files with 17 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ from copy import copy
from datetime import datetime
import wa.framework.signal as signal
from wa.framework import instruments
from wa.framework import instrument
from wa.framework.configuration.core import Status
from wa.framework.exception import HostError, WorkloadError
from wa.framework.job import Job
@@ -302,9 +302,9 @@ class Executor(object):
output.write_state()
self.logger.info('Installing instruments')
for instrument in config_manager.get_instruments(self.target_manager.target):
instruments.install(instrument, context)
instruments.validate()
for instrument_name in config_manager.get_instruments(self.target_manager.target):
instrument.install(instrument_name, context)
instrument.validate()
self.logger.info('Installing output processors')
pm = ProcessorManager()