Plane: add test for loading/restoring large missions

This commit is contained in:
Peter Barker 2020-04-14 14:38:30 +10:00 committed by Peter Barker
parent 678d6f43c5
commit 899b98b2f9
3 changed files with 2126 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1638,6 +1638,10 @@ class AutoTestPlane(AutoTest):
'''In lockup Plane should copy RC inputs to RC outputs''' '''In lockup Plane should copy RC inputs to RC outputs'''
self.plane_CPUFailsafe() self.plane_CPUFailsafe()
def test_large_missions(self):
self.load_mission("Kingaroy-vlarge.txt")
self.load_mission("Kingaroy-vlarge2.txt")
def tests(self): def tests(self):
'''return list of all tests''' '''return list of all tests'''
ret = super(AutoTestPlane, self).tests() ret = super(AutoTestPlane, self).tests()
@ -1739,6 +1743,10 @@ class AutoTestPlane(AutoTest):
"Test DeepStall Landing", "Test DeepStall Landing",
self.fly_deepstall), self.fly_deepstall),
("LargeMissions",
"Test Manipulation of Large missions",
self.test_large_missions),
("LogDownLoad", ("LogDownLoad",
"Log download", "Log download",
lambda: self.log_download( lambda: self.log_download(