Francois Gouget : testbot/WineSendLog: Fix the message warning there is no log.

Alexandre Julliard julliard at winehq.org
Tue Nov 28 09:11:59 CST 2017


Module: tools
Branch: master
Commit: 0a198869a3a61b17aee5ebb189e7817b6218be72
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=0a198869a3a61b17aee5ebb189e7817b6218be72

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Nov 28 12:08:32 2017 +0100

testbot/WineSendLog: Fix the message warning there is no log.

Email it to the patch author instead of printing it to stdout where it
will be lost. Also distinguish the 'empty test log' message from the
'no test log' one.

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

---

 testbot/bin/WineSendLog.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index eadfe77..2e23976 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -284,7 +284,7 @@ EOF
       {
         if (! $HasLogEntries)
         {
-          print SENDMAIL "Empty log\n";
+          print SENDMAIL "Empty test log and no error message\n";
         }
         elsif ($StepTask->Type eq "build")
         {
@@ -313,7 +313,7 @@ EOF
       close ERRFILE;
       if (! $HasErrEntries)
       {
-        print "Empty log";
+        print SENDMAIL "No test log and no error message";
       }
       else
       {




More information about the wine-cvs mailing list