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 2561F19B1F for ; Thu, 14 Apr 2016 07:24:57 +0000 (UTC) Received: (qmail 21379 invoked by uid 500); 14 Apr 2016 07:24:57 -0000 Delivered-To: apmail-yetus-commits-archive@yetus.apache.org Received: (qmail 21341 invoked by uid 500); 14 Apr 2016 07:24:57 -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 21305 invoked by uid 99); 14 Apr 2016 07:24:57 -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; Thu, 14 Apr 2016 07:24:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C8DFEE0563; Thu, 14 Apr 2016 07:24:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aw@apache.org To: commits@yetus.apache.org Date: Thu, 14 Apr 2016 07:24:59 -0000 Message-Id: <9878d65710074b18b7b00e91f786605a@git.apache.org> In-Reply-To: <7eb7171b238d426fb7f8f3262a4578d8@git.apache.org> References: <7eb7171b238d426fb7f8f3262a4578d8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [04/20] yetus git commit: YETUS-372. build driver: unit tests still mentions patches YETUS-372. build driver: unit tests still mentions patches Signed-off-by: Allen Wittenauer Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/dc963937 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/dc963937 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/dc963937 Branch: refs/heads/YETUS-156 Commit: dc963937b1aa54979e25ea1cb17f9e6033447ff6 Parents: c57396f Author: Allen Wittenauer Authored: Tue Apr 12 13:50:54 2016 -0700 Committer: Allen Wittenauer Committed: Thu Apr 14 00:24:45 2016 -0700 ---------------------------------------------------------------------- precommit/test-patch.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/dc963937/precommit/test-patch.sh ---------------------------------------------------------------------- diff --git a/precommit/test-patch.sh b/precommit/test-patch.sh index 9f866ae..9fb26dc 100755 --- a/precommit/test-patch.sh +++ b/precommit/test-patch.sh @@ -1780,10 +1780,10 @@ function modules_messages declare statusjdk declare multijdkmode=false - if [[ "${repostatus}" == branch ]]; then - repo=${PATCH_BRANCH} - elif [[ "${BUILDMODE}" == full ]]; then + if [[ "${BUILDMODE}" == full ]]; then repo="the source" + elif [[ "${repostatus}" == branch ]]; then + repo=${PATCH_BRANCH} else repo="the patch" fi @@ -1899,7 +1899,9 @@ function modules_workers declare result=0 declare argv - if [[ ${repostatus} == branch ]]; then + if [[ "${BUILDMODE}" = full ]]; then + repo="the source" + elif [[ ${repostatus} == branch ]]; then repo=${PATCH_BRANCH} else repo="the patch"