autotest: exempt MODE_AUTOLAND_ENABLED from sanity checks except on Plane

... only ever compiled in on Plane
This commit is contained in:
Peter Barker 2025-01-04 19:01:24 +11:00 committed by Andrew Tridgell
parent b929e78285
commit 16a3735677

View File

@ -305,6 +305,7 @@ class TestBuildOptions(object):
feature_define_whitelist.add('AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED')
feature_define_whitelist.add('HAL_QUADPLANE_ENABLED')
feature_define_whitelist.add('AP_BATTERY_WATT_MAX_ENABLED')
feature_define_whitelist.add('MODE_AUTOLAND_ENABLED')
if target.lower() not in ["plane", "copter"]:
feature_define_whitelist.add('HAL_ADSB_ENABLED')