Repository: hbase Updated Branches: refs/heads/branch-1 949982fc6 -> 83cf07db6
HBASE-12709 [mvn] Add unit test excludes command line flag to the build Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/83cf07db Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/83cf07db Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/83cf07db Branch: refs/heads/branch-1 Commit: 83cf07db66a2fbaef9d2af9a1edc2f57b02f3d22 Parents: 949982f Author: Jonathan M Hsieh <[email protected]> Authored: Thu Dec 18 06:42:21 2014 -0800 Committer: Jonathan M Hsieh <[email protected]> Committed: Mon Dec 22 17:09:39 2014 -0800 ---------------------------------------------------------------------- pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/83cf07db/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 592d95b..80e97b3 100644 --- a/pom.xml +++ b/pom.xml @@ -517,6 +517,13 @@ <systemPropertyVariables> <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> </systemPropertyVariables> + + <excludes> + <!-- users can add -D option to skip particular test classes + ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java + --> + <exclude>${test.exclude.pattern}</exclude> + </excludes> </configuration> <executions> <execution> @@ -1054,6 +1061,7 @@ <surefire.testFailureIgnore>false</surefire.testFailureIgnore> <test.output.tofile>true</test.output.tofile> <surefire.timeout>900</surefire.timeout> + <test.exclude.pattern></test.exclude.pattern> <hbase-surefire.argLine>-enableassertions -XX:MaxDirectMemorySize=1G -Xmx1900m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true
