Return-Path: X-Original-To: apmail-yetus-commits-archive@minotaur.apache.org Delivered-To: apmail-yetus-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DDBD81860F for ; Fri, 12 Feb 2016 15:24:34 +0000 (UTC) Received: (qmail 25885 invoked by uid 500); 12 Feb 2016 15:24:34 -0000 Delivered-To: apmail-yetus-commits-archive@yetus.apache.org Received: (qmail 25860 invoked by uid 500); 12 Feb 2016 15:24:34 -0000 Mailing-List: contact commits-help@yetus.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yetus.apache.org Delivered-To: mailing list commits@yetus.apache.org Received: (qmail 25851 invoked by uid 99); 12 Feb 2016 15:24:34 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2016 15:24:34 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 58E1FE03CD; Fri, 12 Feb 2016 15:24:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: aw@apache.org To: commits@yetus.apache.org Date: Fri, 12 Feb 2016 15:24:34 -0000 Message-Id: <2d40673bd4674aa8b3e2164dce9461b6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] yetus git commit: YETUS-252. Remove "Max memory used" from footer table Repository: yetus Updated Branches: refs/heads/master 76a6a971f -> 7598fdfcf YETUS-252. Remove "Max memory used" from footer table Signed-off-by: Marco Zühlke Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/0d94f57f Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/0d94f57f Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/0d94f57f Branch: refs/heads/master Commit: 0d94f57f1d990999c4a20a1b34be346965b238cc Parents: 76a6a97 Author: Allen Wittenauer Authored: Thu Feb 11 11:16:53 2016 -0800 Committer: Allen Wittenauer Committed: Fri Feb 12 07:20:25 2016 -0800 ---------------------------------------------------------------------- precommit/test-patch.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/0d94f57f/precommit/test-patch.sh ---------------------------------------------------------------------- diff --git a/precommit/test-patch.sh b/precommit/test-patch.sh index ecc9925..24588c9 100755 --- a/precommit/test-patch.sh +++ b/precommit/test-patch.sh @@ -311,24 +311,13 @@ function prepopulate_footer add_footer_table "git revision" "${PATCH_BRANCH} / ${gitrev}" } -## @description Put the max memory consumed by maven at the bottom of the table. +## @description Last minute entries on the footer table ## @audience private ## @stability stable ## @replaceable no function finish_footer_table { - local maxmem - add_footer_table "modules" "C: ${CHANGED_MODULES} U: ${CHANGED_UNION_MODULES}" - - # `sort | head` can cause a broken pipe error, but we can ignore it just like compute_gitdiff. - # shellcheck disable=SC2016,SC2086 - maxmem=$(find "${PATCH_DIR}" -type f -exec ${AWK} 'match($0, /^\[INFO\] Final Memory: [0-9]+/) - { print substr($0, 22, RLENGTH-21) }' {} \; | sort -nr 2>/dev/null | head -n 1) - - if [[ -n ${maxmem} ]]; then - add_footer_table "Max memory used" "${maxmem}MB" - fi } ## @description Put the final elapsed time at the bottom of the table.