Francois Gouget : testbot/LogUtils: Don't close nonexistent test units.
Module: tools Branch: master Commit: 7cc1dd45039e18a53edabaf87f37399488cfa715 URL: https://source.winehq.org/git/tools.git/?a=commit;h=7cc1dd45039e18a53edabaf8... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Thu Mar 4 13:55:21 2021 +0100 testbot/LogUtils: Don't close nonexistent test units. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/lib/WineTestBot/LogUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm index 4d2619c..0bd7d19 100644 --- a/testbot/lib/WineTestBot/LogUtils.pm +++ b/testbot/lib/WineTestBot/LogUtils.pm @@ -683,7 +683,7 @@ sub ParseWineTestReport($$$) # First close the current test unit taking into account # it may have been polluted by the new one. $Cur->{IsBroken} = 1; - _CloseTestUnit($LogInfo, $Cur, 0); + _CloseTestUnit($LogInfo, $Cur, 0) if ($Cur->{Dll} ne ""); # Then switch to the new test unit, not for the past lines, but for # those before the next 'start' line. This 'new' test unit may have
participants (1)
-
Alexandre Julliard