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

Francois Gouget fgouget at codeweavers.com
Mon Dec 2 06:51:56 CST 2019


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>
---
 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 1f21050b3..a324265eb 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);
-- 
2.20.1




More information about the wine-devel mailing list