HADOOP-7167. Allow using a file to exclude certain tests from build. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1079071 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aac5472491
commit
6d9ded1072
|
@ -69,6 +69,8 @@ Trunk (unreleased changes)
|
||||||
HADOOP-7159. RPC server should log the client hostname when read exception
|
HADOOP-7159. RPC server should log the client hostname when read exception
|
||||||
happened. (Scott Chen via todd)
|
happened. (Scott Chen via todd)
|
||||||
|
|
||||||
|
HADOOP-7167. Allow using a file to exclude certain tests from build. (todd)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -95,6 +95,7 @@
|
||||||
<property name="test.core.build.classes" value="${test.build.dir}/core/classes"/>
|
<property name="test.core.build.classes" value="${test.build.dir}/core/classes"/>
|
||||||
|
|
||||||
<property name="test.all.tests.file" value="${test.src.dir}/all-tests"/>
|
<property name="test.all.tests.file" value="${test.src.dir}/all-tests"/>
|
||||||
|
<property name="test.exclude.file" value="/dev/null" />
|
||||||
|
|
||||||
<property name="javadoc.link.java"
|
<property name="javadoc.link.java"
|
||||||
value="http://java.sun.com/javase/6/docs/api/"/>
|
value="http://java.sun.com/javase/6/docs/api/"/>
|
||||||
|
@ -770,13 +771,15 @@
|
||||||
excludes="**/${test.exclude}.java aop/** system/**">
|
excludes="**/${test.exclude}.java aop/** system/**">
|
||||||
<patternset>
|
<patternset>
|
||||||
<includesfile name="@{test.file}"/>
|
<includesfile name="@{test.file}"/>
|
||||||
|
<excludesfile name="${test.exclude.file}"/>
|
||||||
</patternset>
|
</patternset>
|
||||||
</fileset>
|
</fileset>
|
||||||
</batchtest>
|
</batchtest>
|
||||||
<batchtest todir="${test.build.dir}" if="tests.notestcase.fi">
|
<batchtest todir="${test.build.dir}" if="tests.notestcase.fi">
|
||||||
<fileset dir="@{fileset.dir}/aop"
|
<fileset dir="@{fileset.dir}/aop"
|
||||||
includes="**/${test.include}.java"
|
includes="**/${test.include}.java"
|
||||||
excludes="**/${test.exclude}.java" />
|
excludes="**/${test.exclude}.java"
|
||||||
|
excludesfile="${test.exclude.file}" />
|
||||||
</batchtest>
|
</batchtest>
|
||||||
<batchtest todir="@{test.dir}" if="tests.testcase">
|
<batchtest todir="@{test.dir}" if="tests.testcase">
|
||||||
<fileset dir="@{fileset.dir}/core"
|
<fileset dir="@{fileset.dir}/core"
|
||||||
|
|
Loading…
Reference in New Issue