HADOOP-8480. The native build should honor -DskipTests. Contributed by Colin Patrick McCabe
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1368259 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f23d581bfd
commit
afd9e523cd
|
@ -171,6 +171,9 @@ Release 2.0.1-alpha - UNRELEASED
|
||||||
hadoop.security.group.mapping.ldap.search.filter.user. (Jonathan Natkins
|
hadoop.security.group.mapping.ldap.search.filter.user. (Jonathan Natkins
|
||||||
via atm)
|
via atm)
|
||||||
|
|
||||||
|
HADOOP-8480. The native build should honor -DskipTests.
|
||||||
|
(Colin Patrick McCabe via eli)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||||
|
|
||||||
HADOOP-8220. ZKFailoverController doesn't handle failure to become active
|
HADOOP-8220. ZKFailoverController doesn't handle failure to become active
|
||||||
|
|
|
@ -227,6 +227,9 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<skipTests>false</skipTests>
|
||||||
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>compile-proto</id>
|
<id>compile-proto</id>
|
||||||
|
@ -420,11 +423,17 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<target>
|
<target>
|
||||||
<property name="compile_classpath" refid="maven.compile.classpath"/>
|
<property name="compile_classpath" refid="maven.compile.classpath"/>
|
||||||
<property name="test_classpath" refid="maven.test.classpath"/>
|
<property name="test_classpath" refid="maven.test.classpath"/>
|
||||||
<exec executable="${project.build.directory}/native/test_libhdfs_threaded" dir="${project.build.directory}/native/" failonerror="true">
|
<exec executable="sh" failonerror="true" dir="${project.build.directory}/native/">
|
||||||
|
<arg value="-c"/>
|
||||||
|
<arg value="[ x$SKIPTESTS = xtrue ] || ${project.build.directory}/native/test_libhdfs_threaded"/>
|
||||||
<env key="CLASSPATH" value="${test_classpath}:${compile_classpath}"/>
|
<env key="CLASSPATH" value="${test_classpath}:${compile_classpath}"/>
|
||||||
|
<env key="SKIPTESTS" value="${skipTests}"/>
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="${project.build.directory}/native/test_native_mini_dfs" dir="${project.build.directory}/native/" failonerror="true">
|
<exec executable="sh" failonerror="true" dir="${project.build.directory}/native/">
|
||||||
|
<arg value="-c"/>
|
||||||
|
<arg value="[ x$SKIPTESTS = xtrue ] || ${project.build.directory}/native/test_libhdfs_threaded"/>
|
||||||
<env key="CLASSPATH" value="${test_classpath}:${compile_classpath}"/>
|
<env key="CLASSPATH" value="${test_classpath}:${compile_classpath}"/>
|
||||||
|
<env key="SKIPTESTS" value="${skipTests}"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -49,6 +49,9 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<skipTests>false</skipTests>
|
||||||
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>make</id>
|
<id>make</id>
|
||||||
|
@ -72,7 +75,10 @@
|
||||||
<phase>test</phase>
|
<phase>test</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<exec executable="test-container-executor" dir="${project.build.directory}/native" failonerror="true">
|
<exec executable="sh" failonerror="true" dir="${project.build.directory}/native">
|
||||||
|
<arg value="-c"/>
|
||||||
|
<arg value="[ x$SKIPTESTS = xtrue ] || test-container-executor"/>
|
||||||
|
<env key="SKIPTESTS" value="${skipTests}"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in New Issue