Module: tools Branch: master Commit: 86aedb9aae7819f503c919eb4798c629c060cf15 URL: https://gitlab.winehq.org/winehq/tools/-/commit/86aedb9aae7819f503c919eb4798...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Nov 19 16:25:47 2019 +0100
testbot: Highlight the "wait timed out in thread" critical section errors.
The tests should not be triggering any such errors.
---
testbot/lib/WineTestBot/LogUtils.pm | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm index 585b1d04..241eda46 100644 --- a/testbot/lib/WineTestBot/LogUtils.pm +++ b/testbot/lib/WineTestBot/LogUtils.pm @@ -141,6 +141,12 @@ sub GetLogLineCategory($) } return "error"; } + if ($Line =~ /^[0-9a-f]+:err:ntdll:RtlpWaitForCriticalSection/) + { + # The tests should not have "wait timed out in thread" critical section + # errors. + return "error"; + } if (# TestBot script error messages $Line =~ /^[a-zA-Z.]+:error: / or # TestBot error