Parcourir la source

HADOOP-664. Cause entire build to fail if libhdfs tests fail. Contributed by Nigel.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@470029 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting il y a 18 ans
Parent
commit
9689eb7b17
2 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 3 0
      CHANGES.txt
  2. 1 1
      build.xml

+ 3 - 0
CHANGES.txt

@@ -116,6 +116,9 @@ Trunk (unreleased changes)
 
 32. HADOOP-663.  Fix a few unit test issues.  (Mahadev Konar via cutting)
 
+33. HADOOP-664.  Cause entire build to fail if libhdfs tests fail.
+    (Nigel Daley via cutting)
+
 
 Release 0.7.2 - 2006-10-18
 

+ 1 - 1
build.xml

@@ -508,7 +508,7 @@
     <delete dir="${libhdfs.test.log.dir}"/>
     <mkdir dir="${libhdfs.test.log.dir}"/>
 
-    <exec dir="${libhdfs.src}" executable="make">
+    <exec dir="${libhdfs.src}" executable="make" failonerror="true">
         <env key="OS_NAME" value="${os.name}"/>
         <env key="OS_ARCH" value="${os.arch}"/>
         <env key="SHLIB_VERSION" value="${libhdfs.version}"/>