Skip to content

Commit

Permalink
test_build_options.py: exempt HAL_PERIPH_SUPPORT_LONG_CAN_PRINTF from…
Browse files Browse the repository at this point in the history
… testing

no visible symbol
  • Loading branch information
peterbarker committed Aug 10, 2024
1 parent 243dd9d commit b63c18c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tools/autotest/test_build_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def assert_feature_not_in_code(self, defines, feature):
# or all vehicles:
feature_define_whitelist = set([
'AP_RANGEFINDER_ENABLED', # only at vehicle level ATM
'HAL_PERIPH_SUPPORT_LONG_CAN_PRINTF', # no symbol
])
if define in compiled_in_feature_defines:
error = f"feature gated by {define} still compiled into ({target}); extract_features.py bug?"
Expand Down Expand Up @@ -237,6 +238,7 @@ def assert_feature_in_code(self, defines, feature):
# or all vehicles:
feature_define_whitelist = set([
'AP_RANGEFINDER_ENABLED', # only at vehicle level ATM
'HAL_PERIPH_SUPPORT_LONG_CAN_PRINTF', # no symbol
])
if define not in compiled_in_feature_defines:
error = f"feature gated by {define} not compiled into ({target}); extract_features.py bug?"
Expand Down

0 comments on commit b63c18c

Please sign in to comment.