[PATCH] testbot/WineSendLog: Fix the reference log path.
Francois Gouget
fgouget at codeweavers.com
Wed Sep 26 02:32:50 CDT 2018
Use the same reference logs that JobDetails uses.
$RefFileName was missing a slash anyway.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/bin/WineSendLog.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 36d47c3a6..bb6dab51a 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -287,7 +287,7 @@ EOF
foreach my $LogName (@{$JobErrors->{$Key}->{LogNames}})
{
my $LogErrors = $JobErrors->{$Key}->{$LogName};
- my $RefFileName = "$DataDir/latest". $StepTask->VM->Name ."_$LogName";
+ my $RefFileName = $StepTask->GetFullFileName($StepTask->VM->Name ."_$LogName");
my ($NewGroups, $NewErrors, $_NewIndices) = GetNewLogErrors($RefFileName, $LogErrors->{Groups}, $LogErrors->{Errors});
if (!$NewGroups)
{
--
2.19.0
More information about the wine-devel
mailing list