You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2012/05/12 10:58:32 UTC

svn commit: r1337484 - /ofbiz/trunk/build.xml

Author: jacopoc
Date: Sat May 12 08:58:31 2012
New Revision: 1337484

URL: http://svn.apache.org/viewvc?rev=1337484&view=rev
Log:
Removed the dependency on "build" from all the "run-test*" ant targets:  In order to run most of the tests successfully you need to run load-data that already depends on "build; however you can still of course use the command: ant build run-tests if you want to build and test with one command.

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1337484&r1=1337483&r2=1337484&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Sat May 12 08:58:31 2012
@@ -867,7 +867,7 @@ under the License.
         <antcall target="load-admin-user-login"/>
     </target>
 
-    <target name="run-tests" depends="build"
+    <target name="run-tests"
           description="Run OFBiz default tests; you have to manually execute 'ant load-demo' before and see results in runtime/logs/test-results/html/all-tests.html.">
         <java jar="ofbiz.jar" fork="true" resultproperty="test.result">
             <jvmarg value="${memory.initial.param}"/>
@@ -909,7 +909,7 @@ under the License.
             <env key="LC_ALL" value="C"/>
         </java>
     </target>
-    <target name="run-test" depends="build"
+    <target name="run-test"
           description="Run a single test, syntax eg: ant run-test -Dtest.component=service -Dtest.case=service-soap-tests">
         <fail unless="test.component">test.component is a required parameter: -Dtest.component=componentname</fail>
         <fail unless="test.case">test.case is a required parameter: -Dtest.case=testcasename</fail>
@@ -935,7 +935,7 @@ under the License.
             </condition>
         </fail>
     </target>
-    <target name="run-test-suite" depends="build"
+    <target name="run-test-suite"
             description="Run a single test suite, syntax eg: ant run-test-suite -Dtest.component=mycomponent -Dtest.suiteName=mytests">
         <fail unless="test.component">test.component is a required parameter: -Dtest.component=componentname</fail>
         <fail unless="test.suiteName">test.suiteName is a required parameter: -Dtest.suiteName=testsuitename</fail>