[1/5] testbot: Don't show the TestAgent server version when failing to set the time.

Francois Gouget fgouget at codeweavers.com
Wed Mar 12 08:22:59 CDT 2014


The connection may have failed in which case we don't have this information.
---

This should fix the following error reporting code error message (from 
job 5610):

Use of uninitialized value in concatenation (.) or string at 
/home/testbot/bin/WineRunTask.pl line 234, <DATA> line 558.

It could be nice to know the server version in case it's too old and 
does not support that RPC but it's easy to check and they have all been 
updated anyway.

 testbot/bin/WineRunTask.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index ce1adb5..efeac8d 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -231,7 +231,7 @@ if (defined $ErrMessage)
 if (!$TA->SetTime())
 {
     # Not a fatal error
-    LogTaskError("Unable to set the VM system time (". $TA->GetVersion() ."): ". $TA->GetLastError() ."\n", $FullErrFileName);
+    LogTaskError("Unable to set the VM system time: ". $TA->GetLastError() ."\n", $FullErrFileName);
 }
 
 my $FileType = $Step->FileType;
-- 
1.8.5.3




More information about the wine-patches mailing list