[tools] testbot/WineRunReconfig: Clarify the email in case of a failed build.

Francois Gouget fgouget at codeweavers.com
Wed Feb 26 03:37:41 CST 2020


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineRunReconfig.pl | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/testbot/bin/WineRunReconfig.pl b/testbot/bin/WineRunReconfig.pl
index 13557c1007..969741f2ee 100755
--- a/testbot/bin/WineRunReconfig.pl
+++ b/testbot/bin/WineRunReconfig.pl
@@ -436,9 +436,11 @@ if ($TA->GetFile("Reconfig.log", "$TaskDir/task.log"))
   {
     # We should not have badpatch errors and if the result line is missing we
     # probably already have an error message that explains why.
+    my $Status = $LogInfo->{Task} eq "missing" ?
+        "the log contains no status line." :
+        "the last log status line says $LogInfo->{Task}.";
     NotifyAdministrator("The ". $VM->Name ." build failed",
-                        "The ". $VM->Name ." build failed:\n\n".
-                        "$LogInfo->{Task}\n\n".
+                        "The ". $VM->Name ." build failed and $Status\n\n".
                         "See the link below for more details:\n".
                         MakeSecureURL(GetTaskURL($JobId, $StepNo, $TaskNo)) ."\n");
     $NewStatus = "badbuild";
-- 
2.20.1




More information about the wine-devel mailing list