[ 
https://issues.apache.org/jira/browse/HADOOP-7533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082681#comment-13082681
 ] 

Todd Lipcon commented on HADOOP-7533:
-------------------------------------

Looks good, though I didn't try it out. One thought - could the top-level 
test-patch.properties do something like:

{code}
TOT_RA=0
TOT_FINDBUGS=0
TOT_JAVADOC=0
for subproj in hadoop-common hadoop-hdfs hadoop-mapreduce ; do
  OK_RELEASEAUDIT_WARNINGS=0
  OK_FINDBUGS_WARNINGS=0
  OK_JAVADOC_WARNINGS=0
  source $subproj/dev-support/test-patch.properties
  TOT_RA=$[$TOT_RA + $OK_RELEASEAUDIT_WARNINGS]
  ...
done

OK_RELEASEAUDIT_WARNINGS=$TOT_RA
...
{code}
?

> Allow test-patch to be run from any subproject directory 
> ---------------------------------------------------------
>
>                 Key: HADOOP-7533
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7533
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: HADOOP-7533.patch
>
>
> Currently dev-support/test-patch.sh can only be run from the top-level (and 
> only for hadoop-common).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to