Francois Gouget : winetest/dissect: Don't close nonexistent test units.

Alexandre Julliard julliard at winehq.org
Thu Mar 4 15:45:25 CST 2021


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Mar  4 13:55:24 2021 +0100

winetest/dissect: Don't close nonexistent test units.

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

---

 winetest/dissect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winetest/dissect b/winetest/dissect
index fc83726..7f4f327 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -770,7 +770,7 @@ while ($line = <IN>) {
             # And close the current test unit taking into account
             # it may have been polluted by the new one.
             $broken = 1;
-            close_test_unit(0);
+            close_test_unit(0) if ($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




More information about the wine-cvs mailing list