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
This commit is contained in:
Zhihong Yu 2014-03-18 17:48:55 +00:00
parent 896563ab5f
commit c96ba61641
1 changed files with 5 additions and 6 deletions

View File

@ -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 + $? ))