Enable sanitize for CI tests

Change-Id: I3e2e1fb777a7cbf74e2f7c4288ed5f3277c7faed
This commit is contained in:
Max 2018-01-24 13:24:34 +01:00
parent cedad415fc
commit 5675afa6b9
4 changed files with 4 additions and 3 deletions

View File

@ -16,6 +16,7 @@ cd "$deps"
configure_flags="\
--with-osmo-pcu=$deps/osmo-pcu/include \
--enable-trx \
--enable-sanitize \
"
build_bts "osmo-bts-trx" "$configure_flags"

View File

@ -14,7 +14,7 @@ osmo-build-dep.sh libosmo-abis
cd "$deps"
osmo-layer1-headers.sh lc15 "$FIRMWARE_VERSION"
configure_flags="--with-litecell15=$deps/layer1-headers/inc/ --enable-litecell15"
configure_flags="--enable-sanitize --with-litecell15=$deps/layer1-headers/inc/ --enable-litecell15"
build_bts "osmo-bts-lc15" "$configure_flags"

View File

@ -14,7 +14,7 @@ osmo-build-dep.sh libosmo-abis
cd "$deps"
osmo-layer1-headers.sh oct "$FIRMWARE_VERSION"
configure_flags="--with-octsdr-2g=$deps/layer1-headers/ --enable-octphy"
configure_flags="--enable-sanitize --with-octsdr-2g=$deps/layer1-headers/ --enable-octphy"
build_bts "osmo-bts-octphy" "$configure_flags"

View File

@ -16,7 +16,7 @@ osmo-layer1-headers.sh sysmo "$FIRMWARE_VERSION"
mkdir -p "$inst/include/sysmocom/femtobts"
ln -s $deps/layer1-headers/include/* "$inst/include/sysmocom/femtobts/"
configure_flags="--enable-sysmocom-bts --with-sysmobts=$inst/include/"
configure_flags="--enable-sanitize --enable-sysmocom-bts --with-sysmobts=$inst/include/"
# This will not work for the femtobts
if [ $FIRMWARE_VERSION != "femtobts_v2.7" ]; then