autotest: add a progress message for looking for a message in a log

This commit is contained in:
Peter Barker 2021-06-08 15:59:17 +10:00 committed by Peter Barker
parent 6944ef6af1
commit 6af6d2fc2a

View File

@ -8693,6 +8693,8 @@ switch value'''
zero_time_base=True)
def current_onboard_log_contains_message(self, messagetype):
self.progress("Checking (%s) for (%s)" %
(self.current_onboard_log_filepath(), messagetype))
dfreader = self.dfreader_for_current_onboard_log()
m = dfreader.recv_match(type=messagetype)
print("m=%s" % str(m))