Module: tools Branch: master Commit: 3865d35915d861598df080bb552ef88b03020e1f URL: https://gitlab.winehq.org/winehq/tools/-/commit/3865d35915d861598df080bb552e...
Author: Francois Gouget fgouget@codeweavers.com Date: Fri Jun 23 18:19:36 2023 +0200
testbot/LogUtils: Fix setting BadRef when failing to load a reference log.
The information goes on the log being analyzed, not on the preexisting reference log.
---
testbot/lib/WineTestBot/LogUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm index e8f32f34..ae06baf2 100644 --- a/testbot/lib/WineTestBot/LogUtils.pm +++ b/testbot/lib/WineTestBot/LogUtils.pm @@ -1378,7 +1378,7 @@ sub TagNewMessages($$) if (defined $RefInfo->{BadLog}) { # Only save the first BadLog error - $RefInfo->{BadRef} ||= $RefInfo->{BadLog}; + $LogInfo->{BadRef} ||= $RefInfo->{BadLog}; next; } $HasRef = 1;