mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-07 05:31:21 +00:00
glb_corporate: clear logcat in Monitor's __init__ to prevent getting results from previous run.
This commit is contained in:
parent
6d9b49d4bb
commit
3e0c8aa83b
@ -182,6 +182,9 @@ class GlbRunMonitor(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
|
||||||
|
# ignore poller.
|
||||||
|
self.device.execute('logcat -c')
|
||||||
if self.device.adb_name:
|
if self.device.adb_name:
|
||||||
self.command = ['adb', '-s', self.device.adb_name, 'logcat']
|
self.command = ['adb', '-s', self.device.adb_name, 'logcat']
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user