Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use sg_storage_size_t in Java bindings too.
[simgrid.git] / buildtools / Cmake / Scripts / tesh.pl
index e2c9723..31acb42 100755 (executable)
@@ -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";
@@ -406,7 +406,7 @@ LINE: while (not $finished and not $error) {
   }
 
   # Push delayed commands on empty lines
-  unless ($line =~ m/^(.)\s*(.*)$/) {
+  unless ($line =~ m/^(.).(.*)$/) {
     if (defined($cmd{'cmd'})) {
       exec_cmd(\%cmd);
       %cmd = ();