1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 02:01:16 +00:00

glb_corporate: clear logcat in Monitor's __init__ to prevent getting results from previous run.

This commit is contained in:
Sergei Trofimov 2015-03-13 10:59:13 +00:00
parent 6d9b49d4bb
commit 3e0c8aa83b

View File

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