From 9560941f9aa128918425f7dbd030469119c4b234 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Tue, 29 Dec 2015 19:12:08 +0100 Subject: [PATCH] Cmake tests: Handle windows line endings --- development/autotests/useSystemFonts.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/development/autotests/useSystemFonts.pl b/development/autotests/useSystemFonts.pl index 843a3d4f09..e1b17648a7 100644 --- a/development/autotests/useSystemFonts.pl +++ b/development/autotests/useSystemFonts.pl @@ -206,7 +206,8 @@ sub interpretedCopy($$$$) initLyxStack(\%font, $fontT, $inputEncoding); while (my $l = ) { - chomp($l); + $l =~ s/[\n\r]+$//; + #chomp($l); my $rStatus = checkLyxLine($l); if ($rStatus->{found}) { my $rF = $rStatus->{result}; -- 2.39.2