]> git.lyx.org Git - features.git/commitdiff
Cmake tests: Handle windows line endings
authorKornel Benko <kornel@lyx.org>
Tue, 29 Dec 2015 18:12:08 +0000 (19:12 +0100)
committerKornel Benko <kornel@lyx.org>
Tue, 29 Dec 2015 18:12:08 +0000 (19:12 +0100)
development/autotests/useSystemFonts.pl

index 843a3d4f0912dc2d4d4a0f3b2e9b78d0994d804a..e1b17648a795d5922c4604f7ae6c366546362c9b 100644 (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};