mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
fw/execution: rename things for clarity
- Rename "instrument_name" to "instrument" inside do_execute(), as ConfigManger.get_instrument() returns a list of Instrument objects, not names. - To avoid name clash, rename the imported instrument module to "instrumentation".
This commit is contained in:
parent
96dd100b70
commit
b1a01f777f
@ -23,7 +23,7 @@ from copy import copy
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
import wa.framework.signal as signal
|
import wa.framework.signal as signal
|
||||||
from wa.framework import instrument
|
from wa.framework import instrument as instrumentation
|
||||||
from wa.framework.configuration.core import Status
|
from wa.framework.configuration.core import Status
|
||||||
from wa.framework.exception import TargetError, HostError, WorkloadError
|
from wa.framework.exception import TargetError, HostError, WorkloadError
|
||||||
from wa.framework.exception import TargetNotRespondingError, TimeoutError # pylint: disable=redefined-builtin
|
from wa.framework.exception import TargetNotRespondingError, TimeoutError # pylint: disable=redefined-builtin
|
||||||
@ -405,9 +405,9 @@ class Executor(object):
|
|||||||
context.output.write_state()
|
context.output.write_state()
|
||||||
|
|
||||||
self.logger.info('Installing instruments')
|
self.logger.info('Installing instruments')
|
||||||
for instrument_name in context.cm.get_instruments(self.target_manager.target):
|
for instrument in context.cm.get_instruments(self.target_manager.target):
|
||||||
instrument.install(instrument_name, context)
|
instrumentation.install(instrument, context)
|
||||||
instrument.validate()
|
instrumentation.validate()
|
||||||
|
|
||||||
self.logger.info('Installing output processors')
|
self.logger.info('Installing output processors')
|
||||||
pm = ProcessorManager()
|
pm = ProcessorManager()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user