mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Tools: autotest: ArmFeatures is common to all vehicles; use inheritted tests
This commit is contained in:
parent
0b9d10c0f9
commit
50687c9add
@ -929,8 +929,6 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
|
||||
ret = super(AutoTestRover, self).tests()
|
||||
|
||||
ret.extend([
|
||||
("ArmFeatures", "Arm features", self.test_arm_feature),
|
||||
|
||||
("MAVProxy_SetModeUsingSwitch",
|
||||
"Set modes via mavproxy switch",
|
||||
self.test_setting_modes_via_mavproxy_switch),
|
||||
|
@ -2794,8 +2794,6 @@ class AutoTestCopter(AutoTest):
|
||||
"Set modes via auxswitch",
|
||||
self.test_setting_modes_via_auxswitch),
|
||||
|
||||
("ArmFeatures", "Arm features", self.test_arm_feature),
|
||||
|
||||
("AutoTune", "Fly AUTOTUNE mode", self.fly_autotune),
|
||||
|
||||
("RecordThenPlayMission",
|
||||
@ -2929,8 +2927,6 @@ class AutoTestHeli(AutoTestCopter):
|
||||
'''return list of all tests'''
|
||||
ret = super(AutoTestCopter, self).tests()
|
||||
ret.extend([
|
||||
("ArmFeatures", "Arm features", self.test_arm_feature),
|
||||
|
||||
("AVCMission", "Fly AVC mission", self.fly_avc_test),
|
||||
|
||||
("LogDownLoad",
|
||||
|
@ -887,8 +887,6 @@ class AutoTestPlane(AutoTest):
|
||||
|
||||
("TestFlaps", "Flaps", self.fly_flaps),
|
||||
|
||||
("ArmFeatures", "Arm features", self.test_arm_feature),
|
||||
|
||||
("MainFlight",
|
||||
"Lots of things in one flight",
|
||||
self.test_main_flight),
|
||||
|
@ -222,8 +222,6 @@ class AutoTestSub(AutoTest):
|
||||
ret = super(AutoTestSub, self).tests()
|
||||
|
||||
ret.extend([
|
||||
("ArmFeatures", "Arm features", self.test_arm_feature),
|
||||
|
||||
("DiveManual", "Dive manual", self.dive_manual),
|
||||
|
||||
("DiveMission",
|
||||
|
@ -2246,6 +2246,8 @@ switch value'''
|
||||
|
||||
def tests(self):
|
||||
return [
|
||||
("ArmFeatures", "Arm features", self.test_arm_feature),
|
||||
|
||||
("SetHome",
|
||||
"Test Set Home",
|
||||
self.fly_test_set_home),
|
||||
|
@ -202,8 +202,6 @@ class AutoTestQuadPlane(AutoTest):
|
||||
|
||||
ret = super(AutoTestQuadPlane, self).tests()
|
||||
ret.extend([
|
||||
("ArmFeatures", "Arm features", self.test_arm_feature),
|
||||
|
||||
("TestMotorMask", "Test output_motor_mask", self.test_motor_mask),
|
||||
|
||||
("QAutoTune", "Fly QAUTOTUNE mode", self.fly_qautotune),
|
||||
|
Loading…
Reference in New Issue
Block a user