Autotest: Fix a race condition on the regression tests on Windows

This commit is contained in:
Karthik Desai 2018-03-20 12:34:59 +01:00 committed by Randy Mackay
parent 78a3e1d07a
commit 9de1813ae6
5 changed files with 5 additions and 5 deletions

View File

@ -70,7 +70,7 @@ class AutoTestRover(AutoTest):
gdbserver=self.gdbserver)
self.mavproxy = util.start_MAVProxy_SITL(
'APMrover2', options=self.mavproxy_options())
self.mavproxy.expect('Telemetry log: (\S+)')
self.mavproxy.expect('Telemetry log: (\S+)\r\n')
logfile = self.mavproxy.match.group(1)
self.progress("LOGFILE %s" % logfile)

View File

@ -94,7 +94,7 @@ class AutoTestCopter(AutoTest):
gdbserver=self.gdbserver)
self.mavproxy = util.start_MAVProxy_SITL(
'ArduCopter', options=self.mavproxy_options())
self.mavproxy.expect('Telemetry log: (\S+)')
self.mavproxy.expect('Telemetry log: (\S+)\r\n')
self.logfile = self.mavproxy.match.group(1)
self.progress("LOGFILE %s" % self.logfile)

View File

@ -66,7 +66,7 @@ class AutoTestPlane(AutoTest):
gdbserver=self.gdbserver)
self.mavproxy = util.start_MAVProxy_SITL(
'ArduPlane', options=self.mavproxy_options())
self.mavproxy.expect('Telemetry log: (\S+)')
self.mavproxy.expect('Telemetry log: (\S+)\r\n')
logfile = self.mavproxy.match.group(1)
self.progress("LOGFILE %s" % logfile)

View File

@ -62,7 +62,7 @@ class AutoTestSub(AutoTest):
gdbserver=self.gdbserver)
self.mavproxy = util.start_MAVProxy_SITL(
'ArduSub', options=self.mavproxy_options())
self.mavproxy.expect('Telemetry log: (\S+)')
self.mavproxy.expect('Telemetry log: (\S+)\r\n')
logfile = self.mavproxy.match.group(1)
self.progress("LOGFILE %s" % logfile)

View File

@ -67,7 +67,7 @@ class AutoTestQuadPlane(AutoTest):
gdbserver=self.gdbserver)
self.mavproxy = util.start_MAVProxy_SITL(
'QuadPlane', options=self.mavproxy_options())
self.mavproxy.expect('Telemetry log: (\S+)')
self.mavproxy.expect('Telemetry log: (\S+)\r\n')
logfile = self.mavproxy.match.group(1)
self.progress("LOGFILE %s" % logfile)