From 80afb839ec57bccc54c4777be0b9cfb8fb71df63 Mon Sep 17 00:00:00 2001 From: tedyu Date: Fri, 4 Dec 2015 19:16:01 -0800 Subject: [PATCH] HBASE-14917 Log in console if individual tests in test-patch.sh fail or pass (Appy) --- dev-support/test-patch.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 19c5b7bfc8e..93663193255 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