diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-04-28 12:04:36 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2022-05-02 15:14:05 +0200 |
commit | aa6404f3f82fb05111d92b57d4db1546002ebca2 (patch) | |
tree | 5f9e2912cdc2a939a6fd1cb4edba9046e3982aa1 /contrib | |
parent | ad1f436512670b5b54cee7de1b6b93209998d1ba (diff) |
abis_nm: add bts model features to reported ones
As pointed out in code review, for nanobts we need to be able to combine
the reported features with a list of features we assume that the bts
model supports. This is because the enum of features is based on what
nanobts is able to report, but was extended for osmo-bts.
Related: SYS#5922, OS#5538
Change-Id: I7bdbf28c148877275048e070dce7f503ca5e6226
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/jenkins.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index 53b30bfa0..4380f162c 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -28,7 +28,9 @@ osmo-build-dep.sh libosmocore "" '--disable-doxygen --enable-gnutls' verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]") # Check for wrong use of osmo_bts_has_feature (OS#5538) -bts_features_wrong_use="$(grep -r -n 'osmo_bts_has_feature.*->model->features' | grep -v 'jenkins.sh')" || true +bts_features_wrong_use="$(grep -r -n 'osmo_bts_has_feature.*->model->features' \ + | grep -v 'jenkins.sh' \ + | grep -v 'intentional check against bts model')" || true if [ -n "$bts_features_wrong_use" ]; then set +x echo |