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

workloads/jankbench: Update to clear logcat using devlib

Leftover code from WA2 meant that logcat was cleared on the device by
the workload directly instead of using devlib, this caused issues if logcat was
still being cleared from other areas of the code.
This commit is contained in:
Marc Bonnici 2018-09-10 11:33:34 +01:00
parent 59e29de285
commit ca03f21f46

View File

@ -208,9 +208,7 @@ class JankbenchRunMonitor(threading.Thread):
self.daemon = True self.daemon = True
self.run_ended = threading.Event() self.run_ended = threading.Event()
self.stop_event = threading.Event() self.stop_event = threading.Event()
# Not using clear_logcat() because command collects directly, i.e. will self.target.clear_logcat()
# ignore poller.
self.target.execute('logcat -c')
if self.target.adb_name: if self.target.adb_name:
self.command = ['adb', '-s', self.target.adb_name, 'logcat'] self.command = ['adb', '-s', self.target.adb_name, 'logcat']
else: else: