Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to put script before and after install simgrid on mac
[simgrid.git] / buildtools / Cmake / generate_memcheck_tests.pl
index ad85011..23699bb 100755 (executable)
@@ -79,8 +79,9 @@ while ( defined( $line = <MAKETEST> ) ) {
                 $tesh_file =~ s/^[^\/\$]/$path\/$&/;
                 $tesh_file =~ s/\${CMAKE_HOME_DIRECTORY}/$proj_dir/g;
                 if ( ! -e "$tesh_file" ) {
-                    print "tesh_file : $tesh_file not exists!\n";
-                    die;
+                    print "# tesh_file: $tesh_file does not exist!\n";
+                    print "# $line\n";
+                    next;
                 }
             }
 
@@ -109,7 +110,6 @@ while ( defined( $line = <MAKETEST> ) ) {
                     $command = var_subst($command, "SG_TEST_EXENV", "");
                     $command = var_subst($command, "SG_TEST_ENV", "");
                     $command = var_subst($command, "SG_EXENV_TEST", "");
-                    $command = var_subst($command, "ARGS", "");
                     $command =~ s/\$@//g;
 #                    $command =~ s/..\/..\/bin\/smpirun/\${CMAKE_BINARY_DIR\}\/bin\/smpirun/g;
                     $command =~ s/^\s+//;