diff --git a/build.xml b/build.xml index 1284fc17f..03cd0a33e 100644 --- a/build.xml +++ b/build.xml @@ -490,17 +490,18 @@ + workingDir="${basedir}" + useDefaultListeners="false" + listeners="org.testng.reporters.FailedReporter,org.testng.reporters.JUnitXMLReporter,org.broadinstitute.sting.StingTextReporter"> - - + + diff --git a/java/test/org/broadinstitute/sting/StingTextReporter.java b/java/test/org/broadinstitute/sting/StingTextReporter.java new file mode 100644 index 000000000..786ffd7aa --- /dev/null +++ b/java/test/org/broadinstitute/sting/StingTextReporter.java @@ -0,0 +1,16 @@ +package org.broadinstitute.sting; + +import org.testng.reporters.TextReporter; + +/** + * HACK: Create a variant of the TestNG TextReporter that can be run with no + * arguments, and can therefore be added to the TestNG listener list. + * + * @author hanna + * @version 0.1 + */ +public class StingTextReporter extends TextReporter { + public StingTextReporter() { + super("Ant suite",2); + } +}