Cmake tests: Handle windows line endings

This commit is contained in:
Kornel Benko 2015-12-29 19:12:08 +01:00
parent 7f0977aefb
commit 9560941f9a

View File

@ -206,7 +206,8 @@ sub interpretedCopy($$$$)
initLyxStack(\%font, $fontT, $inputEncoding);
while (my $l = <FI>) {
chomp($l);
$l =~ s/[\n\r]+$//;
#chomp($l);
my $rStatus = checkLyxLine($l);
if ($rStatus->{found}) {
my $rF = $rStatus->{result};