db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r532473 - /db/derby/code/trunk/build.xml
Date Wed, 25 Apr 2007 20:35:05 GMT
Author: djd
Date: Wed Apr 25 13:35:05 2007
New Revision: 532473

URL: http://svn.apache.org/viewvc?view=rev&rev=532473
Log:
Rewrite the junit-all-codeline-jars target in build.xml so that it fails if one of
the junit test fails.

Modified:
    db/derby/code/trunk/build.xml

Modified: db/derby/code/trunk/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/build.xml?view=diff&rev=532473&r1=532472&r2=532473
==============================================================================
--- db/derby/code/trunk/build.xml (original)
+++ db/derby/code/trunk/build.xml Wed Apr 25 13:35:05 2007
@@ -1786,12 +1786,17 @@
 	     junit.jar in CLASSPATH due to some bug in ant that is
 	     fixed in version 1.7.
 	-->
-	<target name="junit-all-codeline-jars" depends="setsanityname">
+	<target name="junit-all-codeline-jars"
+	    depends="junit-all-codeline-jars-set-properties,junit-all">
+		<fail if="tests.failed">Tests Failed!</fail>
+	</target>
+	
+	<target name="junit-all-codeline-jars-set-properties" depends="setsanityname">
 		<property name="derby.jar.base" value="${basedir}/jars/${sanity.name}"/>
-	    <antcall target="junit-all">
-	      <param name="derby.junit.classpath"
+	    <property name="derby.junit.classpath"
 	        value="${derby.jar.base}/derbyTesting.jar:${derby.jar.base}/derbynet.jar:${derby.jar.base}/derbytools.jar:${derby.jar.base}/derbyclient.jar"/>
-	    </antcall>
 	</target>
+	
+	
 
 </project>



Mime
View raw message