This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit 75ab0f783f7b8bc08138868c3adf6dee89891168
Author: Cedric Beust <[email protected]>
Date:   Fri May 17 21:13:46 2013 -0700

    -noEmailableReporter disables the EmailableReporter.
---
 src/main/java/org/testng/TestNG.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/testng/TestNG.java 
b/src/main/java/org/testng/TestNG.java
index 0e77bb1..31c0660 100644
--- a/src/main/java/org/testng/TestNG.java
+++ b/src/main/java/org/testng/TestNG.java
@@ -875,9 +875,9 @@ public class TestNG {
       addReporter(Main.class);
       addReporter(FailedReporter.class);
       addReporter(XMLReporter.class);
-      if (System.getProperty("oldDestngEmailableReporter") != null) {
+      if (System.getProperty("oldTestngEmailableReporter") != null) {
         addReporter(EmailableReporter.class);
-      } else {
+      } else if (System.getProperty("noEmailableReporter") == null) {
         addReporter(EmailableReporter2.class);
       }
       addReporter(JUnitReportReporter.class);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/testng.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to