Use value string check from osmo-ci

Change-Id: I5bce234a5b8133c81b3ea8757e05de56d3aa15d8
This commit is contained in:
Max 2017-08-25 17:19:52 +02:00 committed by Harald Welte
parent 1283e3d543
commit fab4efdaf5
1 changed files with 2 additions and 8 deletions

View File

@ -20,14 +20,7 @@ export deps inst
mkdir -p "$deps"
rm -rf "$inst"
cd "$deps"
# Get libosmocore for verify_value_string_arrays_are_terminated.py
osmo-deps.sh libosmocore
cd "$base"
"$deps"/libosmocore/contrib/verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]")
verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]")
# generic project build function, usage:
# build "PROJECT-NAME" "CONFIGURE OPTIONS"
@ -41,6 +34,7 @@ build_bts() {
set -x
cd $deps
osmo-deps.sh libosmocore
osmo-deps.sh openbsc
conf_flags="--with-openbsc=$deps/openbsc/openbsc/include"
cd $base