]> AND Public Git Repository - simgrid.git/blobdiff - buildtools/Cmake/Scripts/generate_memcheck_tests.pl
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
There is no reason to trim the output in tesh.pl too.
[simgrid.git] / buildtools / Cmake / Scripts / generate_memcheck_tests.pl
index 7b0656125954126dec6444f5240f69fe914699db..df0880674fe3bfbc68cd98cab184ec8f67908d92 100755 (executable)
@@ -47,7 +47,7 @@ while ( defined( $line = <MAKETEST> ) ) {
     }
     if ($dump) {
         $line =~ s/^  //;
-        if ( $line =~ /^\s*ADD_TEST\(\S+\s+\S*\/tesh\s/ ) {
+        if ( $line =~ /^\s*ADD_TEST\(\S+\s+\S*TESH\_COMMAND\}\s/ ) {
             undef %environ;
             $config_var = "";
             $path       = "";