[
https://issues.apache.org/jira/browse/HBASE-12709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251046#comment-14251046
]
Dima Spivak commented on HBASE-12709:
-------------------------------------
Hm, seems broken when I try it, too. In that case, your way works great and
gets a +1 from me. Just one thought: maybe just call it test.exclude and have
the pattern be implicit (as it is with -Dtest)?
> [mvn] Add unit test excludes command line flag to the build.
> -------------------------------------------------------------
>
> Key: HBASE-12709
> URL: https://issues.apache.org/jira/browse/HBASE-12709
> Project: HBase
> Issue Type: New Feature
> Components: build
> Affects Versions: 1.0.0, 2.0.0, 0.98.10
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Attachments: hbase-12709.master.patch, hbase-12709.patch
>
>
> I've added a simple way to specify unit test classes to skip when executing
> unit test runs.
> I've added a -D variable called test.exclude.pattern that you can using like
> this:
> {code}
> mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
> {code}
> to exclude the unit tests form TestFoo and TestBar in this run. By default
> there is nothing excluded.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)