Francois Gouget : testbot/WineSendLog: Print a message for non-mailing list jobs.

Alexandre Julliard julliard at winehq.org
Wed Jul 11 11:52:08 CDT 2018


Module: tools
Branch: master
Commit: 507d75c0536ef921dcd8a38bccfc3c6cbc97d23e
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=507d75c0536ef921dcd8a38bccfc3c6cbc97d23e

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Jul 11 11:31:19 2018 +0200

testbot/WineSendLog: Print a message for non-mailing list jobs.

WineSendLog exits early for these.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/bin/WineSendLog.pl | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 29da4a0..f095bce 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -426,7 +426,11 @@ EOF
   close(SENDMAIL);
 
   # This is all for jobs submitted from the website
-  return if (!defined $Job->Patch);
+  if (!defined $Job->Patch)
+  {
+    Debug("Not a mailing list patch -> all done.\n");
+    return;
+  }
 
   #
   # Build a job summary with only the new errors




More information about the wine-cvs mailing list