Francois Gouget : winetest/dissect: Don't issue multiple errors in check_unit().
Alexandre Julliard
julliard at winehq.org
Mon Feb 1 16:11:51 CST 2021
Module: tools
Branch: master
Commit: e202221249991184a8bbf974bde85acaee33d56f
URL: https://source.winehq.org/git/tools.git/?a=commit;h=e202221249991184a8bbf974bde85acaee33d56f
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Feb 1 12:58:55 2021 +0100
winetest/dissect: Don't issue multiple errors in check_unit().
Don't complain about misplaced lines after the first one has been
reported (or if the test has already been tagged as broken for some
other reason, e.g. missing start line).
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 27bcf17..12a939d 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -483,7 +483,7 @@ sub add_test_line($$)
sub check_unit($$)
{
my ($l_unit, $l_type) = @_;
- if (!$units{$l_unit})
+ if (!$units{$l_unit} and !$broken)
{
add_test_line("end", "Misplaced $l_type message\n");
$extra_failures++;
More information about the wine-cvs
mailing list