changeset 7602:61c8d9f1c754

Add test target for Aurora using custom listeners. Contributed-by: sonali.goel@oracle.com
author briangoetz
date Mon, 11 Mar 2013 11:59:33 -0400
parents 37c4fdad51ce
children 88776f695148
files combo-tests/build.xml
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/combo-tests/build.xml	Mon Mar 11 14:13:55 2013 +0100
+++ b/combo-tests/build.xml	Mon Mar 11 11:59:33 2013 -0400
@@ -54,6 +54,25 @@
             <sysproperty key="combo.debug" value="${combo.debug}" />
         </testng>
     </target>
+   
+    <!-- New target added that uses a different set of listeners to show results in Aurora --> 
+    <target name="aurora-test" depends="test-compile" >
+        <testng outputdir="${test.reports.dir}" usedefaultlisteners="false"
+                listeners="org.testng.reporters.JUnitXMLReporter,org.testng.reporters.JUnitReportReporter,
+                           org.testng.reporters.XMLReporter">
+            <classpath refid="test.class.path" />
+            <classfileset dir="${test.classes.dir}" includes="**/${test.pattern}.class"/>
+            <jvmarg value="-Xms1G" />
+            <jvmarg value="-Xmx2G" />
+            <jvmarg value="-XX:+UseNUMA" />
+            <jvmarg value="-XX:+UseG1GC" />
+            <jvmarg value="-ea" />
+            <jvmarg value="-esa" />
+            <jvmarg value="-Xverify:all" />
+            <sysproperty key="lambda.metafactory" value="${lambda.metafactory}" />
+            <sysproperty key="combo.debug" value="${combo.debug}" />
+        </testng>
+    </target>
 
     <target name="clean">
         <delete dir="${build.dir}" />