HDFS-9459. hadoop-hdfs-native-client fails test build on Windows after transition to ctest. Contributed by Chris Nauroth.
This commit is contained in:
parent
628c782870
commit
15caaa7d0a
|
@ -162,15 +162,13 @@ 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"/>
|
||||||
<target>
|
<exec executable="ctest" failonerror="true" dir="${project.build.directory}/native">
|
||||||
<property name="compile_classpath" refid="maven.compile.classpath"/>
|
<env key="CLASSPATH" value="${test_classpath}:${compile_classpath}"/>
|
||||||
<property name="test_classpath" refid="maven.test.classpath"/>
|
<!-- HADOOP_HOME required to find winutils. -->
|
||||||
<exec executable="ctest" failonerror="true" dir="${project.build.directory}/">
|
<env key="HADOOP_HOME" value="${hadoop.common.build.dir}"/>
|
||||||
<env key="CLASSPATH" value="${test_classpath}:${compile_classpath}"/>
|
<!-- Make sure hadoop.dll and jvm.dll are on PATH. -->
|
||||||
<!-- Make sure libhadoop.so is on LD_LIBRARY_PATH. -->
|
<env key="PATH" value="${env.PATH};${hadoop.common.build.dir}/bin;${java.home}/jre/bin/server;${java.home}/bin/server"/>
|
||||||
<env key="LD_LIBRARY_PATH" value="${env.LD_LIBRARY_PATH}:${project.build.directory}/target/usr/local/lib:${hadoop.common.build.dir}/native/target/usr/local/lib"/>
|
</exec>
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
|
@ -1529,6 +1529,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
intermittently with various symptoms - debugging patch. (Yongjun Zhang via
|
intermittently with various symptoms - debugging patch. (Yongjun Zhang via
|
||||||
Arpit Agarwal)
|
Arpit Agarwal)
|
||||||
|
|
||||||
|
HDFS-9459. hadoop-hdfs-native-client fails test build on Windows after
|
||||||
|
transition to ctest. (Chris Nauroth via wheat9)
|
||||||
|
|
||||||
Release 2.7.3 - UNRELEASED
|
Release 2.7.3 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
Loading…
Reference in New Issue