You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cu...@apache.org on 2006/09/20 22:37:36 UTC
svn commit: r448333 - in /lucene/hadoop/trunk: CHANGES.txt build.xml
Author: cutting
Date: Wed Sep 20 13:37:35 2006
New Revision: 448333
URL: http://svn.apache.org/viewvc?view=rev&rev=448333
Log:
HADOOP-548. Add a property to build.xml that permits one to direct test output to the console. Contributed by Owen.
Modified:
lucene/hadoop/trunk/CHANGES.txt
lucene/hadoop/trunk/build.xml
Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=448333&r1=448332&r2=448333
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed Sep 20 13:37:35 2006
@@ -30,6 +30,9 @@
8. HADOOP-545. Remove an unused config file parameter.
(Philippe Gassmann via cutting)
+9. HADOOP-548. Add an Ant property "test.output" to build.xml that
+ causes test output to be logged to the console. (omalley via cutting)
+
Release 0.6.2 (unreleased)
Modified: lucene/hadoop/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/build.xml?view=diff&rev=448333&r1=448332&r2=448333
==============================================================================
--- lucene/hadoop/trunk/build.xml (original)
+++ lucene/hadoop/trunk/build.xml Wed Sep 20 13:37:35 2006
@@ -42,6 +42,7 @@
<property name="test.build.javadoc" value="${test.build.dir}/docs/api"/>
<property name="test.include" value="Test*"/>
<property name="test.classpath.id" value="test.classpath"/>
+ <property name="test.output" value="no"/>
<property name="libhdfs.test.conf.dir" value="${libhdfs.src}/tests/conf"/>
<property name="libhdfs.test.log.dir" value="${build.libhdfs}/tests/logs"/>
@@ -294,7 +295,8 @@
<mkdir dir="${test.build.data}"/>
<delete dir="${hadoop.log.dir}"/>
<mkdir dir="${hadoop.log.dir}"/>
- <junit printsummary="yes" haltonfailure="no" fork="yes" dir="${basedir}"
+ <junit showoutput="${test.output}" printsummary="yes" haltonfailure="no"
+ fork="yes" dir="${basedir}"
errorProperty="tests.failed" failureProperty="tests.failed">
<sysproperty key="test.build.data" value="${test.build.data}"/>
<sysproperty key="hadoop.log.dir" value="${hadoop.log.dir}"/>