HBASE-14917 Log in console if individual tests in test-patch.sh fail or pass (Appy)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/80afb839 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/80afb839 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/80afb839 Branch: refs/heads/hbase-12439 Commit: 80afb839ec57bccc54c4777be0b9cfb8fb71df63 Parents: 4f36632 Author: tedyu <yuzhih...@gmail.com> Authored: Fri Dec 4 19:16:01 2015 -0800 Committer: tedyu <yuzhih...@gmail.com> Committed: Fri Dec 4 19:16:01 2015 -0800 ---------------------------------------------------------------------- dev-support/test-patch.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/80afb839/dev-support/test-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 19c5b7b..9366319 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -1007,6 +1007,7 @@ cd $BASEDIR echo "Version of this script: Wed Oct 14 00:29:04 PDT 2015" checkout RESULT=$? +echo "RESULT = " $RESULT if [[ $JENKINS == "true" ]] ; then if [[ $RESULT != 0 ]] ; then exit 100 @@ -1015,8 +1016,10 @@ fi setup checkAuthor RESULT=$? +echo "RESULT = " $RESULT checkTests (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT applyPatch if [[ $? != 0 ]] ; then submitJiraComment 1 @@ -1025,30 +1028,42 @@ fi checkAntiPatterns (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkBuildWithHadoopVersions (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkJavacWarnings (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkProtocErrors (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkJavadocWarnings (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkCheckstyleErrors (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkInterfaceAudience (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkFindbugsWarnings (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkReleaseAuditWarnings (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkLineLengths (( RESULT = RESULT + $? )) +echo "RESULT = " $RESULT checkSiteXml (( RESULT = RESULT + $?)) -### Do not call these when run by a developer +echo "RESULT = " $RESULT +### Do not call these when run by a developer if [[ $JENKINS == "true" ]] ; then runTests (( RESULT = RESULT + $? )) + echo "RESULT = " $RESULT JIRA_COMMENT_FOOTER="Test results: $BUILD_URL/testReport/ $JIRA_COMMENT_FOOTER" fi