aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/osmo-build-dep.sh
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-03-25 16:31:10 +0100
committerOliver Smith <osmith@sysmocom.de>2019-03-26 10:39:13 +0100
commite81f90f7e184967ef56c983a33dd3aec6a0d1aeb (patch)
treec271ef021f19114435e6f4c326193d2c50988c60 /scripts/osmo-build-dep.sh
parentf8653decf5301289586d99bf99f5f2af36c67f3e (diff)
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
Diffstat (limited to 'scripts/osmo-build-dep.sh')
-rwxr-xr-xscripts/osmo-build-dep.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/osmo-build-dep.sh b/scripts/osmo-build-dep.sh
index 2e4fb31..7013414 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/..).