diff options
author | Oliver Smith <osmith@sysmocom.de> | 2019-03-25 16:31:10 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2019-03-26 10:39:13 +0100 |
commit | e81f90f7e184967ef56c983a33dd3aec6a0d1aeb (patch) | |
tree | c271ef021f19114435e6f4c326193d2c50988c60 /scripts | |
parent | f8653decf5301289586d99bf99f5f2af36c67f3e (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')
-rwxr-xr-x | scripts/osmo-build-dep.sh | 5 |
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/..). |