mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-27 10:13:57 -04:00
autotest: cope with mavproxy logging msg changes
This commit is contained in:
parent
ac3200fd32
commit
34689cf949
@ -100,7 +100,7 @@ def drive_APMrover2(viewerip=None, map=False):
|
||||
|
||||
sil = util.start_SIL('APMrover2', model='rover', home=home, speedup=10)
|
||||
mavproxy = util.start_MAVProxy_SIL('APMrover2', options=options)
|
||||
mavproxy.expect('Logging to (\S+)')
|
||||
mavproxy.expect('Telemetry log: (\S+)')
|
||||
logfile = mavproxy.match.group(1)
|
||||
print("LOGFILE %s" % logfile)
|
||||
|
||||
|
@ -932,7 +932,7 @@ def fly_ArduCopter(viewerip=None, map=False):
|
||||
if map:
|
||||
options += ' --map'
|
||||
mavproxy = util.start_MAVProxy_SIL('ArduCopter', options=options)
|
||||
mavproxy.expect('Logging to (\S+)')
|
||||
mavproxy.expect('Telemetry log: (\S+)')
|
||||
logfile = mavproxy.match.group(1)
|
||||
print("LOGFILE %s" % logfile)
|
||||
|
||||
@ -1279,7 +1279,7 @@ def fly_CopterAVC(viewerip=None, map=False):
|
||||
if map:
|
||||
options += ' --map'
|
||||
mavproxy = util.start_MAVProxy_SIL('ArduCopter', options=options)
|
||||
mavproxy.expect('Logging to (\S+)')
|
||||
mavproxy.expect('Telemetry log: (\S+)')
|
||||
logfile = mavproxy.match.group(1)
|
||||
print("LOGFILE %s" % logfile)
|
||||
|
||||
|
@ -445,7 +445,7 @@ def fly_ArduPlane(viewerip=None, map=False):
|
||||
mavproxy = util.start_MAVProxy_SIL('ArduPlane', options=options)
|
||||
util.expect_setup_callback(mavproxy, expect_callback)
|
||||
|
||||
mavproxy.expect('Logging to (\S+)')
|
||||
mavproxy.expect('Telemetry log: (\S+)')
|
||||
mavproxy.expect('Received [0-9]+ parameters',timeout=3000)
|
||||
|
||||
# setup test parameters
|
||||
@ -460,7 +460,7 @@ def fly_ArduPlane(viewerip=None, map=False):
|
||||
|
||||
sil = util.start_SIL('ArduPlane', model='jsbsim', home=HOME_LOCATION, speedup=10)
|
||||
mavproxy = util.start_MAVProxy_SIL('ArduPlane', options=options)
|
||||
mavproxy.expect('Logging to (\S+)')
|
||||
mavproxy.expect('Telemetry log: (\S+)')
|
||||
logfile = mavproxy.match.group(1)
|
||||
print("LOGFILE %s" % logfile)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user