osmo-build-dep.sh: run 'make check' when CHECK=1

Prepare for osmocom-build-old-tags-against-master.sh.

Related: OS#3765
Change-Id: I248b53d7a6fe1b64f2a994c568c0466dc93858de
This commit is contained in:
Oliver Smith 2019-03-25 16:31:10 +01:00
parent f8653decf5
commit e81f90f7e1
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@ fi
autoreconf --install --force
./configure --prefix="$inst/stow/$project" --with-systemdsystemunitdir="$inst/stow/$project/lib/systemd/system" $cfg
if [ -n "$CHECK" ]; then
$MAKE $PARALLEL_MAKE check
fi
$MAKE $PARALLEL_MAKE install
# Make the dependencies available through symlinks in $deps ($PWD/..).