From c96ba61641213539259048ca80751e5d2e676296 Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Tue, 18 Mar 2014 17:48:55 +0000 Subject: [PATCH] HBASE-10691 test-patch.sh should continue even if compilation against hadoop 1.0 / 1.1 fails git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1578982 13f79535-47bb-0310-9956-ffa450edef68 --- dev-support/test-patch.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 0acf69a1fb6..8a73d2b0eba 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -353,7 +353,7 @@ applyPatch () { ############################################################################### ### Attempt to compile against the hadoop 1.1 -checkHadoop20Compile () { +checkHadoop11Compile () { echo "" echo "" echo "======================================================================" @@ -376,8 +376,7 @@ checkHadoop20Compile () { JIRA_COMMENT="$JIRA_COMMENT {color:red}-1 hadoop1.1{color}. The patch failed to compile against the hadoop 1.1 profile." - submitJiraComment 1 - cleanupAndExit 1 + return 1 fi JIRA_COMMENT="$JIRA_COMMENT @@ -408,8 +407,8 @@ checkHadoop10Compile () { {color:red}-1 hadoop1.0{color}. The patch failed to compile against the hadoop 1.0 profile. Here is snippet of errors: {code}$ERR{code}" - submitJiraComment 1 - cleanupAndExit 1 + + return 1 fi JIRA_COMMENT="$JIRA_COMMENT @@ -908,7 +907,7 @@ checkAntiPatterns (( RESULT = RESULT + $? )) checkHadoop10Compile (( RESULT = RESULT + $? )) -checkHadoop20Compile +checkHadoop11Compile (( RESULT = RESULT + $? )) checkJavadocWarnings (( RESULT = RESULT + $? ))