mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -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:
|
||||
raise ex
|
||||
|
||||
def test_arm_feature(self):
|
||||
def loiter_requires_position(self):
|
||||
# ensure we can't switch to LOITER without position
|
||||
self.progress("Ensure we can't enter LOITER without position")
|
||||
self.context_push()
|
||||
@ -2808,6 +2808,9 @@ class AutoTestCopter(AutoTest):
|
||||
self.context_pop()
|
||||
self.reboot_sitl()
|
||||
|
||||
def test_arm_feature(self):
|
||||
self.loiter_requires_position()
|
||||
|
||||
super(AutoTestCopter, self).test_arm_feature()
|
||||
|
||||
def test_parameter_checks(self):
|
||||
@ -3038,6 +3041,9 @@ class AutoTestHeli(AutoTestCopter):
|
||||
ret[3] = 1000 # collective
|
||||
return ret
|
||||
|
||||
def loiter_requires_position(self):
|
||||
self.progress("Skipping loiter-requires-position for heli; rotor runup issues")
|
||||
|
||||
def tests(self):
|
||||
'''return list of all tests'''
|
||||
ret = super(AutoTestCopter, self).tests()
|
||||
|
Loading…
Reference in New Issue
Block a user