From c2ae0672c24f56b98d90669258562546f382e62b Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 4 Oct 2013 15:09:49 +0200 Subject: [PATCH] empty lines made win unhappy --- buildtools/Cmake/Scripts/tesh.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildtools/Cmake/Scripts/tesh.pl b/buildtools/Cmake/Scripts/tesh.pl index e2c97235e2..c4d9722165 100755 --- a/buildtools/Cmake/Scripts/tesh.pl +++ b/buildtools/Cmake/Scripts/tesh.pl @@ -270,7 +270,7 @@ sub exec_cmd { $got =~ s/\r//g; $got =~ s/^( )*//g; chomp $got; - $got=trim($got); + $got=trim($got); if( $got ne ""){ if (!($enable_coverage and $got=~ /^profiling:/)){ push @got, "$got"; @@ -392,6 +392,9 @@ LINE: while (not $finished and not $error) { $line_num++; chomp $line; + if($line!=~/\s/){ + next LINE; + } print "[TESH/debug] $line_num: $line\n" if $opts{'debug'}; my $next; # deal with line continuations -- 2.20.1