Francois Gouget : testbot/LogUtils: Report validation errors must not contain LFs.

Alexandre Julliard julliard at winehq.org
Fri Feb 21 14:19:59 CST 2020


Module: tools
Branch: master
Commit: b172d243d7de8f60fa7e5e648802926ca0f02b4d
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=b172d243d7de8f60fa7e5e648802926ca0f02b4d

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Feb 21 03:00:12 2020 +0100

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

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 690bc03..a95eeca 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




More information about the wine-cvs mailing list