Change in osmo-ci[master]: osmo-build-dep.sh: run 'make check' when CHECK=1

osmith gerrit-no-reply at lists.osmocom.org
Wed Mar 27 09:26:39 UTC 2019


osmith has submitted this change and it was merged. ( https://gerrit.osmocom.org/13414 )

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

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
---
M scripts/osmo-build-dep.sh
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Max: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  osmith: Verified



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 @@
 
 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/..).

-- 
To view, visit https://gerrit.osmocom.org/13414
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I248b53d7a6fe1b64f2a994c568c0466dc93858de
Gerrit-Change-Number: 13414
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190327/39711cdd/attachment.html>


More information about the gerrit-log mailing list