hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gustavo Anatoly (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-11051) checkJavacWarnings in test-patch.sh should bail out early if there is compilation error
Date Thu, 01 May 2014 21:32:21 GMT

     [ https://issues.apache.org/jira/browse/HBASE-11051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gustavo Anatoly updated HBASE-11051:
------------------------------------

    Attachment: HBASE-11051-v4.patch

> checkJavacWarnings in test-patch.sh should bail out early if there is compilation error
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-11051
>                 URL: https://issues.apache.org/jira/browse/HBASE-11051
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Gustavo Anatoly
>            Priority: Minor
>         Attachments: HBASE-11051-v1.patch, HBASE-11051-v2.patch, HBASE-11051-v3.patch,
HBASE-11051-v4.patch, HBASE-11051.patch, output.txt
>
>
> Currently checkJavacWarnings doesn't exit QA script in the presence of compilation error.
> Here is one example: https://builds.apache.org/job/PreCommit-HBASE-Build/9360/console
.
> checkJavacWarnings should do the following so that it is clear what caused the QA run
to fail:
> {code}
>   if [[ $? != 0 ]] ; then
>     ERR=`$GREP -A 5 'Compilation failure' $PATCH_DIR/trunkJavacWarnings.txt`
>     echo "Trunk compilation is broken?
>     \{code\}$ERR\{code\}"
>     cleanupAndExit 1
>   fi
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message