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

Francois Gouget fgouget at codeweavers.com
Tue Nov 28 05:08:32 CST 2017


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>
---
 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 eadfe77c..2e239765 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
       {
-- 
2.15.0



More information about the wine-devel mailing list