]> source.dussan.org Git - vaadin-framework.git/commitdiff
Run tests in parallel (#4493)
authorArtur Signell <artur.signell@itmill.com>
Thu, 8 Apr 2010 15:07:12 +0000 (15:07 +0000)
committerArtur Signell <artur.signell@itmill.com>
Thu, 8 Apr 2010 15:07:12 +0000 (15:07 +0000)
Removed extra "ant-tests" which served no purpose

svn changeset:12396/svn branch:6.3

build/build.xml

index 3c48ada9e68c489ef227a322c729cc80905fa21f..6412a35ec1c226f2b8d133b118c1c6416db08d53 100644 (file)
     <!-- Automated tests.                                                   -->
     <!-- ================================================================== -->
 
-    <target name="tests" depends="ant-tests, server-side-tests, testbench-tests, integration-tests">
+    <target name="tests">
+       <!-- Run all different types of tests in parallel to decrease testing time -->
+       <parallel threadcount="3">
+               <antcall target="server-side-tests"></antcall>
+               <antcall target="testbench-tests"></antcall>
+               <antcall target="integration-tests"></antcall>
+       </parallel>
     </target>
 
     <target name="server-side-tests" depends="compile-java">
         </ant>
     </target>
 
-    <target name="ant-tests">
-        <echo>##teamcity[testSuiteStarted name='com.vaadin.tests.test-framework']</echo>
-
-        <!-- A smoke test for testing the testing framework. -->
-        <echo>##teamcity[testStarted name='testingSmoketest']</echo>
-        <echo>##teamcity[testStdOut name='testingSmoketest' out='Here be some text related to the test.]</echo>
-        <echo>##teamcity[testFinished name='testingSmoketest']</echo>
-
-        <echo>##teamcity[testSuiteFinished name='com.vaadin.tests.test-framework']</echo>
-    </target>
-       
     <target name="integration-tests" depends="internal-package-war">
         <!-- Parameters for the test.xml script. -->
         <fail unless="com.vaadin.testbench.tester.host" message="The 'com.vaadin.testbench.tester.host' property must be defined."/>