yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [1/2] yetus git commit: YETUS-372. build driver: unit tests still mentions patches
Date Tue, 12 Apr 2016 20:54:45 GMT
Repository: yetus
Updated Branches:
  refs/heads/YETUS-156 902f49318 -> 9dfaa98fa


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/68a08a3c
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/68a08a3c
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/68a08a3c

Branch: refs/heads/YETUS-156
Commit: 68a08a3c24cb2c426aa62e8c48be0f8801171114
Parents: 902f493
Author: Allen Wittenauer <aw@apache.org>
Authored: Tue Apr 12 13:50:54 2016 -0700
Committer: Allen Wittenauer <aw@apache.org>
Committed: Tue Apr 12 13:51:06 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/yetus/blob/68a08a3c/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"


Mime
View raw message