[PATCH] testbot/WineRun*: Trace the disconnection in all WineRun* scripts.

Francois Gouget fgouget at codeweavers.com
Sun Dec 29 17:46:28 CST 2019


It was already present in WineRunWineTest. There is no reason for it to
be the exception.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineRunBuild.pl    | 2 ++
 testbot/bin/WineRunReconfig.pl | 1 +
 testbot/bin/WineRunTask.pl     | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/testbot/bin/WineRunBuild.pl b/testbot/bin/WineRunBuild.pl
index ccbba3bbf..f33b7bde6 100755
--- a/testbot/bin/WineRunBuild.pl
+++ b/testbot/bin/WineRunBuild.pl
@@ -491,6 +491,8 @@ foreach my $TestInfo (values %{$Impacts->{Tests}})
     }
   }
 }
+
+Debug(Elapsed($Start), " Disconnecting\n");
 $TA->Disconnect();
 
 
diff --git a/testbot/bin/WineRunReconfig.pl b/testbot/bin/WineRunReconfig.pl
index 985d9312e..9b0b479ee 100755
--- a/testbot/bin/WineRunReconfig.pl
+++ b/testbot/bin/WineRunReconfig.pl
@@ -507,6 +507,7 @@ if ($NewStatus eq "completed")
   }
 }
 
+Debug(Elapsed($Start), " Disconnecting\n");
 $TA->Disconnect();
 
 
diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index a324265eb..6a30de3d3 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -582,6 +582,8 @@ elsif (!defined $TAError)
 {
   $TAError = "An error occurred while retrieving $RptFileName: ". $TA->GetLastError();
 }
+
+Debug(Elapsed($Start), " Disconnecting\n");
 $TA->Disconnect();
 
 
-- 
2.20.1



More information about the wine-devel mailing list