This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Max gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/5874 jenkins: move make invocation into shared function Change-Id: Ied8c1085b8bee2cc4fa65592e805838b8cdae287 --- M contrib/jenkins-arm.sh M contrib/jenkins.sh M contrib/jenkins_common.sh 3 files changed, 8 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/74/5874/1 diff --git a/contrib/jenkins-arm.sh b/contrib/jenkins-arm.sh index acdbe3c..4579596 100755 --- a/contrib/jenkins-arm.sh +++ b/contrib/jenkins-arm.sh @@ -16,8 +16,7 @@ --disable-shared \ CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror" - $MAKE $PARALLEL_MAKE \ - || cat-testlogs.sh + run_make } # verify build in dir other than source tree diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index c341d05..d2b0459 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -15,9 +15,9 @@ prep_build "$src_dir" "$build_dir" - "$src_dir"/configure --enable-static $ENABLE_SANITIZE CFLAGS="-Werror" CPPFLAGS="-Werror" - $MAKE V=1 $PARALLEL_MAKE check \ - || cat-testlogs.sh + "$src_dir"/configure --disable-silent-rules --enable-static $ENABLE_SANITIZE CFLAGS="-Werror" CPPFLAGS="-Werror" + + run_make } # verify build in dir other than source tree diff --git a/contrib/jenkins_common.sh b/contrib/jenkins_common.sh index a6ffe7f..fa1d544 100644 --- a/contrib/jenkins_common.sh +++ b/contrib/jenkins_common.sh @@ -26,3 +26,7 @@ mkdir -p "$_build_dir" cd "$_build_dir" } + +run_make() { + $MAKE $PARALLEL_MAKE check || cat-testlogs.sh +} -- To view, visit https://gerrit.osmocom.org/5874 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ied8c1085b8bee2cc4fa65592e805838b8cdae287 Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Max <msuraev at sysmocom.de>