[PATCH 2/2] testbot/WineSendLog: Show the task command in the summary.
Francois Gouget
fgouget at codeweavers.com
Fri Jul 20 02:02:39 CDT 2018
Otherwise when a job involves running many test units, possibly from
multiple modules, it's hard to know which ones succeeded and which ones
failed.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/bin/WineSendLog.pl | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 537778a20..368d830de 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -258,7 +258,7 @@ MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
-VM Status Number of test failures
+VM Status Failures Command
EOF
foreach my $Key (@SortedKeys)
{
@@ -268,9 +268,12 @@ EOF
$TestFailures = "" if (!defined $TestFailures);
my $Status = $StepTask->Status;
$Status = $TestFailures ? "failed" : "success" if ($Status eq "completed");
+ my $Cmd = "";
+ $Cmd = $StepTask->FileName ." " if ($StepTask->FileType =~ /^exe/);
+ $Cmd .= $StepTask->CmdLineArg if (defined $StepTask->CmdLineArg);
- printf $Sendmail "%-20s %-8s %s\n", $StepTask->VM->Name, $Status,
- $TestFailures;
+ printf $Sendmail "%-20s %-8s %-8s %s\n", $StepTask->VM->Name, $Status,
+ $TestFailures, $Cmd;
}
print $Sendmail "\nYou can also see the results at:\n$JobURL\n\n";
--
2.18.0
More information about the wine-devel
mailing list