From: Kornel Benko Date: Tue, 29 Dec 2015 18:12:08 +0000 (+0100) Subject: Cmake tests: Handle windows line endings X-Git-Tag: 2.2.0beta1~283 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9560941f9aa128918425f7dbd030469119c4b234;p=features.git Cmake tests: Handle windows line endings --- 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};