[PATCH 2/2] testbot/LogUtils: Tag the "too much data" error byte count as variable.

Francois Gouget fgouget at codeweavers.com
Sun Dec 29 17:48:23 CST 2019


This will eventually allow removing a special case in GetLineKey().

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 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 0489f3e5b..2f230b521 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -285,7 +285,7 @@ sub _CloseTestUnit($$$)
 
   if ($Cur->{UnitSize} > $MaxUnitSize)
   {
-    _AddError($Parser, "prints too much data ($Cur->{UnitSize} bytes)", $Cur);
+    _AddError($Parser, "prints too much data (($Cur->{UnitSize} bytes))", $Cur);
   }
   if (!$Cur->{IsBroken} and defined $Cur->{Rc})
   {
-- 
2.20.1



More information about the wine-devel mailing list