[tools] testbot/LogUtils: Report validation errors must not contain LFs.

Francois Gouget fgouget at codeweavers.com
Thu Feb 20 20:00:12 CST 2020


Otherwise the LF translates into an empty line in the .errors file,
which is not a valid line format and gets rejected by LoadLogErrors().

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 2601af4d74..9e6ab4463f 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -572,7 +572,7 @@ sub ParseWineTestReport($$$)
       }
       else
       {
-        _AddExtra($LogInfo, "Misplaced $SubUnit subtest\n");
+        _AddExtra($LogInfo, "Misplaced $SubUnit subtest");
       }
     }
     elsif (($Cur->{Unit} ne "" and
-- 
2.20.1




More information about the wine-devel mailing list