svn commit: r948327 - /ofbiz/trunk/common.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r948327 - /ofbiz/trunk/common.xml

doogie-3
Author: doogie
Date: Wed May 26 05:52:03 2010
New Revision: 948327

URL: http://svn.apache.org/viewvc?rev=948327&view=rev
Log:
Fix stand-alone tests target, broken when separated -test.jar logic was
added.

Modified:
    ofbiz/trunk/common.xml

Modified: ofbiz/trunk/common.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/common.xml?rev=948327&r1=948326&r2=948327&view=diff
==============================================================================
--- ofbiz/trunk/common.xml (original)
+++ ofbiz/trunk/common.xml Wed May 26 05:52:03 2010
@@ -111,6 +111,7 @@ under the License.
 
     <macrodef name="run-junit">
         <attribute name="build.jar" default="${build.dir}/lib/${name}.jar"/>
+        <attribute name="build-test.jar" default="${build.dir}/lib/${name}-test.jar"/>
         <sequential>
             <mkdir dir="${build.dir}/test-results"/>
             <junit fork="on" haltonfailure="on" forkmode="once" showoutput="on" printsummary="off">
@@ -118,6 +119,7 @@ under the License.
                     <path refid="junit.class.path"/>
                     <path refid="test.class.path"/>
                     <pathelement location="@{build.jar}"/>
+                    <pathelement location="@{build-test.jar}"/>
                 </classpath>
                 <sysproperty key="net.sourceforge.cobertura.datafile" file="${build.dir}/test-results/cobertura.dat" />
                 <sysproperty key="ofbiz.home" value="${ofbiz.home.dir}"/>