You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2016/04/17 19:14:57 UTC

[09/23] 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 <aw...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/ac9c62e2
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/ac9c62e2
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/ac9c62e2

Branch: refs/heads/YETUS-156
Commit: ac9c62e250691d857286d5b35d903d732f24bd73
Parents: 606f816
Author: Allen Wittenauer <aw...@apache.org>
Authored: Tue Apr 12 13:50:54 2016 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Sun Apr 17 10:14:34 2016 -0700

----------------------------------------------------------------------
 precommit/test-patch.sh | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/ac9c62e2/precommit/test-patch.sh
----------------------------------------------------------------------
diff --git a/precommit/test-patch.sh b/precommit/test-patch.sh
index f3dbc92..d4ee8ed 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"