Module: tools Branch: master Commit: f588b7648e5a47ab8263ddcad649dbe8a7daa165 URL: https://gitlab.winehq.org/winehq/tools/-/commit/f588b7648e5a47ab8263ddcad649...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Sep 20 10:23:35 2022 +0200
testbot/TestWTBS: Fix $LogType for Windows reports.
This ensures TestWTBS uses the correct list of expected errors.
---
testbot/tests/TestWTBS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testbot/tests/TestWTBS b/testbot/tests/TestWTBS index 5663f956..15e7931e 100755 --- a/testbot/tests/TestWTBS +++ b/testbot/tests/TestWTBS @@ -964,7 +964,8 @@ sub CheckTask($$$$) my $LogType = "log"; if ($LogName =~ /.report$/) { - $LogType = $LogName =~ /^wow32/ ? "wow32" : + $LogType = $MissionType =~ /^exe/ ? "report" : + $LogName =~ /^wow32/ ? "wow32" : $LogName =~ /^wow64/ ? "wow64" : "win32"; $ReportCount++;