Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
generate_memcheck_tests.pl: don't fail if tesh file doesn't exist.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 31 Jan 2012 15:46:01 +0000 (16:46 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 31 Jan 2012 15:46:01 +0000 (16:46 +0100)
buildtools/Cmake/generate_memcheck_tests.pl

index ad85011..2f9058d 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;
                 }
             }