jenkins.sh: use osmo-build-dep.sh, log test failures

Like in libosmo-abis' and other jenkins.sh

Change-Id: I1b03786069cc4373dec73711e3a31ec05dfac2e3
changes/26/1026/1
Neels Hofmeyr 6 years ago
parent ff8ca58821
commit fffc742777
  1. 39
      contrib/jenkins.sh

@ -2,20 +2,31 @@
set -ex
rm -rf deps/install
mkdir deps || true
cd deps
osmo-deps.sh libosmocore
base="$PWD"
deps="$base/deps"
inst="$deps/install"
export deps inst
cd libosmocore
autoreconf --install --force
./configure --prefix=$PWD/../install
$MAKE $PARALLEL_MAKE install
mkdir "$deps" || true
rm -rf "$inst"
cd ../../
autoreconf --install --force
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig ./configure --enable-vty-tests --enable-external-tests
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig $MAKE $PARALLEL_MAKE
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig LD_LIBRARY_PATH=$PWD/deps/install/lib $MAKE check
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig LD_LIBRARY_PATH=$PWD/deps/install/lib $MAKE distcheck
osmo-build-dep.sh libosmocore
export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="$inst/lib"
set +x
echo
echo
echo
echo " =============================== osmo-sip-connector ==============================="
echo
set -x
autoreconf --install --force
./configure --enable-vty-tests --enable-external-tests
$MAKE $PARALLEL_MAKE
$MAKE check \
|| cat-testlogs.sh
$MAKE distcheck \
|| cat-testlogs.sh

Loading…
Cancel
Save