Update of /cvsroot/nutch/nutch
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13575
Modified Files:
build.xml
Log Message:
Changed so that, if a unit test fails, all other tests are still run,
but the build fails.
Index: build.xml
===================================================================
RCS file: /cvsroot/nutch/nutch/build.xml,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** build.xml 2 Dec 2003 21:53:49 -0000 1.44
--- build.xml 28 Jan 2004 22:15:45 -0000 1.45
***************
*** 129,133 ****
<mkdir dir="${test.build.data}"/>
! <junit printsummary="yes" haltonfailure="no" fork="yes">
<sysproperty key="test.build.data" value="${test.build.data}"/>
<classpath refid="test.classpath"/>
--- 129,134 ----
<mkdir dir="${test.build.data}"/>
! <junit printsummary="yes" haltonfailure="no" fork="yes"
! errorProperty="tests.failed" failureProperty="tests.failed">
<sysproperty key="test.build.data" value="${test.build.data}"/>
<classpath refid="test.classpath"/>
***************
*** 138,141 ****
--- 139,144 ----
</junit>
+ <fail if="tests.failed">Tests failed!</fail>
+
</target>
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nutch-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-cvs