HADOOP-7912. test-patch should run eclipse:eclipse to verify that it does not break again. Contributed by Robert Joseph Evans
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1213432 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6571d39a74
commit
6fc7e2e002
@ -585,6 +585,35 @@ $JIRA_COMMENT_FOOTER"
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
### Verify eclipse:eclipse works
|
||||||
|
checkEclipseGeneration () {
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
|
echo "======================================================================"
|
||||||
|
echo "======================================================================"
|
||||||
|
echo " Running mvn eclipse:eclipse."
|
||||||
|
echo "======================================================================"
|
||||||
|
echo "======================================================================"
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
echo "$MVN eclipse:eclipse -D${PROJECT_NAME}PatchProcess"
|
||||||
|
$MVN eclipse:eclipse -D${PROJECT_NAME}PatchProcess
|
||||||
|
if [[ $? != 0 ]] ; then
|
||||||
|
JIRA_COMMENT="$JIRA_COMMENT
|
||||||
|
|
||||||
|
-1 eclipse:eclipse. The patch failed to build with eclipse:eclipse."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
JIRA_COMMENT="$JIRA_COMMENT
|
||||||
|
|
||||||
|
+1 eclipse:eclipse. The patch built with eclipse:eclipse."
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
### Run the tests
|
### Run the tests
|
||||||
runTests () {
|
runTests () {
|
||||||
@ -790,6 +819,8 @@ checkJavadocWarnings
|
|||||||
(( RESULT = RESULT + $? ))
|
(( RESULT = RESULT + $? ))
|
||||||
checkJavacWarnings
|
checkJavacWarnings
|
||||||
(( RESULT = RESULT + $? ))
|
(( RESULT = RESULT + $? ))
|
||||||
|
checkEclipseGeneration
|
||||||
|
(( RESULT = RESULT + $? ))
|
||||||
### Checkstyle not implemented yet
|
### Checkstyle not implemented yet
|
||||||
#checkStyle
|
#checkStyle
|
||||||
#(( RESULT = RESULT + $? ))
|
#(( RESULT = RESULT + $? ))
|
||||||
|
@ -172,6 +172,9 @@ Release 0.23.1 - Unreleased
|
|||||||
HADOOP-6886. LocalFileSystem Needs createNonRecursive API.
|
HADOOP-6886. LocalFileSystem Needs createNonRecursive API.
|
||||||
(Nicolas Spiegelberg and eli via eli)
|
(Nicolas Spiegelberg and eli via eli)
|
||||||
|
|
||||||
|
HADOOP-7912. test-patch should run eclipse:eclipse to verify that it does
|
||||||
|
not break again. (Robert Joseph Evans via tomwhite)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
Loading…
Reference in New Issue
Block a user