Permalink
Browse files

Introduced "bamboo-test" task which does NOT halt on failure to allow

bamboo tests to complete and report properly
  • Loading branch information...
1 parent b348233 commit d3fb5f982a2d8293b4fc1a2192772af48f13dd19 Brendan W. McAdams committed Oct 25, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 build.xml
View
@@ -235,6 +235,13 @@ limitations under the License.
</testng>
</target>
+ <target name="bamboo-test" depends="compile">
+ <testng classpathref="classpath" outputdir="${testdir}" listeners="com.mongodb.util.TestNGListener" haltonfailure="false" >
+ <jvmarg value="-Xmx512M" />
+ <xmlfileset dir="." includes="testng.xml"/>
+ </testng>
+ </target>
+
<target name="test-single" depends="compile">
<condition property="propsSpecified">
<and>
@@ -300,7 +307,7 @@ limitations under the License.
<!-- The reporting targets -->
<!-- ******************************************************************* -->
- <target name="junit-reports" depends="test">
+ <target name="junit-reports" depends="bamboo-test">
<junitreport todir="${testdir}">
<fileset dir="${testdir}"><include name="*/*.xml"/></fileset>
<report format="noframes" todir="${testdir}"/>

0 comments on commit d3fb5f9

Please sign in to comment.