Francois Gouget : testbot/WineRunTask: Move TestAgent error reporting to match WineRunWineTest.

Alexandre Julliard julliard at winehq.org
Mon Dec 2 13:24:48 CST 2019


Module: tools
Branch: master
Commit: 0f6d3fffb50e0c53734a95722d587ccc18158e45
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=0f6d3fffb50e0c53734a95722d587ccc18158e45

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Dec  2 13:51:56 2019 +0100

testbot/WineRunTask: Move TestAgent error reporting to match WineRunWineTest.

It belongs in the wrap up section which makes it less likely that code
will be inserted between it and WrapUpAndExit().

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/bin/WineRunTask.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index 1f21050..a324265 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -584,11 +584,11 @@ elsif (!defined $TAError)
 }
 $TA->Disconnect();
 
-FatalTAError(undef, $TAError, $PossibleCrash) if (defined $TAError);
-
 
 #
 # Wrap up
 #
 
+FatalTAError(undef, $TAError, $PossibleCrash) if (defined $TAError);
+
 WrapUpAndExit($NewStatus, $TaskFailures, undef, $TaskTimedOut);




More information about the wine-cvs mailing list