JWS-114 Added two extra test sets for testing web_services and running all tests.
authorFábio Madeira <fmmarquesmadeira@dundee.ac.uk>
Mon, 10 Apr 2017 11:32:04 +0000 (12:32 +0100)
committerFábio Madeira <fmmarquesmadeira@dundee.ac.uk>
Tue, 11 Apr 2017 11:24:54 +0000 (12:24 +0100)
build.xml

index 1458d21..d570b14 100644 (file)
--- a/build.xml
+++ b/build.xml
                </testNG>
        </target>
 
+       <target name="Test_webservices" depends="compile_with_debug">
+               <delete file="${activity.log}"/>
+               <testNG groups="webservices" haltonfailure="true" verbose="3" enableassert="true" >
+                       <jvmarg value="-server" />
+                       <jvmarg value="-enableassertions" />
+                       <jvmarg value="-Xms1024m" />
+                       <jvmarg value="-Xmx1024m" />
+                       <classfileset dir="${classes}" includes="**/*.class" />
+                       <env key="LD_LIBRARY_PATH" value="${LD_LIBRARY_PATH}"/>
+                       <classpath refid="test.classpath" />
+                       <classpath refid="project.classpath" />
+                       <sysproperty key="TestingDataPath" value="${data.src}"/>
+               </testNG>
+       </target>
+
        <target name="All_cluster_independent_windows_only_tests" depends="compile_with_debug">
                <delete file="${activity.log}" failonerror="false"/>
                <testNG excludedgroups="cluster, non_windows" haltonfailure="true" verbose="3" enableassert="true"  >
                        <sysproperty key="TestingDataPath" value="${data.src}"/>
                </testNG>
        </target>
+
+       <target name="TestAll" depends="compile_with_debug">
+               <delete file="${activity.log}"/>
+               <testNG haltonfailure="true" enableassert="true" verbose="3" >
+                       <jvmarg value="-server" />
+                       <jvmarg value="-enableassertions" />
+                       <jvmarg value="-Xms1024m" />
+                       <jvmarg value="-Xmx1024m" />
+                       <classfileset dir="${classes}" includes="**/*.class" />
+                       <env key="LD_LIBRARY_PATH" value="${LD_LIBRARY_PATH}"/>
+                       <classpath refid="test.classpath" />
+                       <classpath refid="project.classpath" />
+                       <sysproperty key="TestingDataPath" value="${data.src}"/>
+               </testNG>
+       </target>
+
 </project>