From e81f90f7e184967ef56c983a33dd3aec6a0d1aeb Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 25 Mar 2019 16:31:10 +0100 Subject: [PATCH] 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 --- scripts/osmo-build-dep.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/osmo-build-dep.sh b/scripts/osmo-build-dep.sh index 2e4fb314..70134141 100755 --- a/scripts/osmo-build-dep.sh +++ b/scripts/osmo-build-dep.sh @@ -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/..).