Francois Gouget : testbot/WineSendLog: Fix the reference log path.
Alexandre Julliard
julliard at winehq.org
Wed Sep 26 12:25:16 CDT 2018
Module: tools
Branch: master
Commit: 37c48af98dbce0245404d706edff84b9e3c4aec0
URL: https://source.winehq.org/git/tools.git/?a=commit;h=37c48af98dbce0245404d706edff84b9e3c4aec0
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Sep 26 09:32:50 2018 +0200
testbot/WineSendLog: Fix the reference log path.
Use the same reference logs that JobDetails uses.
$RefFileName was missing a slash anyway.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 36d47c3..bb6dab5 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)
{
More information about the wine-cvs
mailing list