mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 17:38:32 -04:00
autotest: cope with startup messages in a different order
This commit is contained in:
parent
06b16a156e
commit
861222f81d
@ -374,8 +374,9 @@ def fly_ArduCopter(viewerip=None):
|
|||||||
os.unlink(buildlog)
|
os.unlink(buildlog)
|
||||||
os.link(logfile, buildlog)
|
os.link(logfile, buildlog)
|
||||||
|
|
||||||
mavproxy.expect('Received [0-9]+ parameters')
|
# the received parameters can come before or after the ready to fly message
|
||||||
mavproxy.expect("Ready to FLY")
|
mavproxy.expect(['Received [0-9]+ parameters', 'Ready to FLY'])
|
||||||
|
mavproxy.expect(['Received [0-9]+ parameters', 'Ready to FLY'])
|
||||||
|
|
||||||
util.expect_setup_callback(mavproxy, expect_callback)
|
util.expect_setup_callback(mavproxy, expect_callback)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user