[tools] testbot/LogUtils: Improve the misplaced subtest error message.
Francois Gouget
fgouget at codeweavers.com
Wed Jan 27 20:35:56 CST 2021
A subtest line, misplaced or not, also proves this is a Wine test.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/lib/WineTestBot/LogUtils.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index d537af26d..1b4ee7a28 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -579,8 +579,9 @@ sub ParseWineTestReport($$$)
}
else
{
- _AddExtra($LogInfo, "Misplaced $SubUnit subtest");
+ _AddExtra($LogInfo, "$Unit has a misplaced $SubUnit subtest line");
}
+ $LogInfo->{IsWineTest} = 1;
}
elsif (($Cur->{Unit} ne "" and
$Line =~ /($Cur->{UnitsRE})\.c:\d+: Test (?:failed|succeeded inside todo block): /) or
--
2.20.1
More information about the wine-devel
mailing list