mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Tools: autotest: do not test Copter for loiter-requires-position
This commit is contained in:
parent
2ef24e700e
commit
c5c67362fa
@ -2794,7 +2794,7 @@ class AutoTestCopter(AutoTest):
|
|||||||
if ex is not None:
|
if ex is not None:
|
||||||
raise ex
|
raise ex
|
||||||
|
|
||||||
def test_arm_feature(self):
|
def loiter_requires_position(self):
|
||||||
# ensure we can't switch to LOITER without position
|
# ensure we can't switch to LOITER without position
|
||||||
self.progress("Ensure we can't enter LOITER without position")
|
self.progress("Ensure we can't enter LOITER without position")
|
||||||
self.context_push()
|
self.context_push()
|
||||||
@ -2808,6 +2808,9 @@ class AutoTestCopter(AutoTest):
|
|||||||
self.context_pop()
|
self.context_pop()
|
||||||
self.reboot_sitl()
|
self.reboot_sitl()
|
||||||
|
|
||||||
|
def test_arm_feature(self):
|
||||||
|
self.loiter_requires_position()
|
||||||
|
|
||||||
super(AutoTestCopter, self).test_arm_feature()
|
super(AutoTestCopter, self).test_arm_feature()
|
||||||
|
|
||||||
def test_parameter_checks(self):
|
def test_parameter_checks(self):
|
||||||
@ -3038,6 +3041,9 @@ class AutoTestHeli(AutoTestCopter):
|
|||||||
ret[3] = 1000 # collective
|
ret[3] = 1000 # collective
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
def loiter_requires_position(self):
|
||||||
|
self.progress("Skipping loiter-requires-position for heli; rotor runup issues")
|
||||||
|
|
||||||
def tests(self):
|
def tests(self):
|
||||||
'''return list of all tests'''
|
'''return list of all tests'''
|
||||||
ret = super(AutoTestCopter, self).tests()
|
ret = super(AutoTestCopter, self).tests()
|
||||||
|
Loading…
Reference in New Issue
Block a user