Francois Gouget : testbot/LogUtils: Improve the misplaced subtest error message.
Alexandre Julliard
julliard at winehq.org
Thu Jan 28 15:30:14 CST 2021
Module: tools
Branch: master
Commit: d7f11e34484a6d006a56b045ab0ecec1ee5e51e1
URL: https://source.winehq.org/git/tools.git/?a=commit;h=d7f11e34484a6d006a56b045ab0ecec1ee5e51e1
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Jan 28 03:35:56 2021 +0100
testbot/LogUtils: Improve the misplaced subtest error message.
A subtest line, misplaced or not, also proves this is a Wine test.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 d537af2..1b4ee7a 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
More information about the wine-cvs
mailing list