HADOOP-6451. Fix build to run contrib unit tests. Contributed by Tom White
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@898736 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4cecab7c10
commit
daed679fc1
|
@ -1270,6 +1270,8 @@ Release 0.21.0 - Unreleased
|
||||||
HADOOP-6441. Protect web ui from cross site scripting attacks (XSS) on
|
HADOOP-6441. Protect web ui from cross site scripting attacks (XSS) on
|
||||||
the host http header and using encoded utf-7. (omalley)
|
the host http header and using encoded utf-7. (omalley)
|
||||||
|
|
||||||
|
HADOOP-6451. Fix build to run contrib unit tests. (Tom White via cdouglas)
|
||||||
|
|
||||||
Release 0.20.2 - Unreleased
|
Release 0.20.2 - Unreleased
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
|
|
12
build.xml
12
build.xml
|
@ -375,7 +375,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="compile-contrib" depends="compile-core">
|
<target name="compile-contrib" depends="compile-core">
|
||||||
<subant target="compile" inheritall="true">
|
<subant target="compile">
|
||||||
<property name="version" value="${version}"/>
|
<property name="version" value="${version}"/>
|
||||||
<fileset file="${contrib.dir}/build.xml"/>
|
<fileset file="${contrib.dir}/build.xml"/>
|
||||||
</subant>
|
</subant>
|
||||||
|
@ -661,7 +661,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="test-contrib" depends="compile, compile-core-test" description="Run contrib unit tests">
|
<target name="test-contrib" depends="compile, compile-core-test" description="Run contrib unit tests">
|
||||||
<subant target="test" inheritall="true">
|
<subant target="test">
|
||||||
<property name="version" value="${version}"/>
|
<property name="version" value="${version}"/>
|
||||||
<property name="clover.jar" value="${clover.jar}"/>
|
<property name="clover.jar" value="${clover.jar}"/>
|
||||||
<fileset file="${contrib.dir}/build.xml"/>
|
<fileset file="${contrib.dir}/build.xml"/>
|
||||||
|
@ -678,7 +678,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="test" depends="jar-test,test-core" description="Run all unit tests">
|
<target name="test" depends="jar-test,test-core" description="Run all unit tests">
|
||||||
<subant target="test-contrib" inheritall="true">
|
<subant target="test-contrib">
|
||||||
<fileset dir="." includes="build.xml"/>
|
<fileset dir="." includes="build.xml"/>
|
||||||
</subant>
|
</subant>
|
||||||
</target>
|
</target>
|
||||||
|
@ -973,7 +973,7 @@
|
||||||
<arg line="${native.src.dir}/packageNativeHadoop.sh"/>
|
<arg line="${native.src.dir}/packageNativeHadoop.sh"/>
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<subant target="package" inheritall="true">
|
<subant target="package">
|
||||||
<!--Pass down the version in case its needed again and the target
|
<!--Pass down the version in case its needed again and the target
|
||||||
distribution directory so contribs know where to install to.-->
|
distribution directory so contribs know where to install to.-->
|
||||||
<property name="version" value="${version}"/>
|
<property name="version" value="${version}"/>
|
||||||
|
@ -1073,7 +1073,7 @@
|
||||||
<arg line="${native.src.dir}/packageNativeHadoop.sh"/>
|
<arg line="${native.src.dir}/packageNativeHadoop.sh"/>
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<subant target="package" inheritall="true">
|
<subant target="package">
|
||||||
<!--Pass down the version in case its needed again and the target
|
<!--Pass down the version in case its needed again and the target
|
||||||
distribution directory so contribs know where to install to.-->
|
distribution directory so contribs know where to install to.-->
|
||||||
<property name="version" value="${version}"/>
|
<property name="version" value="${version}"/>
|
||||||
|
@ -1227,7 +1227,7 @@
|
||||||
<!-- Using subant instead of ant as a workaround for 30569 -->
|
<!-- Using subant instead of ant as a workaround for 30569 -->
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<target name="clean-contrib">
|
<target name="clean-contrib">
|
||||||
<subant target="clean" inheritall="true">
|
<subant target="clean">
|
||||||
<fileset file="src/contrib/build.xml"/>
|
<fileset file="src/contrib/build.xml"/>
|
||||||
</subant>
|
</subant>
|
||||||
</target>
|
</target>
|
||||||
|
|
|
@ -46,11 +46,8 @@
|
||||||
<!-- ====================================================== -->
|
<!-- ====================================================== -->
|
||||||
<target name="test">
|
<target name="test">
|
||||||
<subant target="test">
|
<subant target="test">
|
||||||
<fileset dir="." includes="hdfsproxy/build.xml"/>
|
<fileset dir="." includes="failmon/build.xml"/>
|
||||||
<fileset dir="." includes="streaming/build.xml"/>
|
<fileset dir="." includes="hod/build.xml"/>
|
||||||
<fileset dir="." includes="fairscheduler/build.xml"/>
|
|
||||||
<fileset dir="." includes="capacity-scheduler/build.xml"/>
|
|
||||||
<fileset dir="." includes="mrunit/build.xml"/>
|
|
||||||
</subant>
|
</subant>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue