From: Martin Quinson Date: Tue, 17 Jul 2018 21:36:03 +0000 (+0200) Subject: my_valgrind.pl: pass keep-temps to smpirun so that valgrind can analyse the binaries... X-Git-Tag: v3_21~411 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b13ed025d5deb297a7b54d6ede82925b066eee1e?hp=249fb4eaba258513892e38d29f92a141ba818945 my_valgrind.pl: pass keep-temps to smpirun so that valgrind can analyse the binaries on memleaks --- diff --git a/tools/cmake/scripts/my_valgrind.pl b/tools/cmake/scripts/my_valgrind.pl index cdaac86813..f2ccce7101 100755 --- a/tools/cmake/scripts/my_valgrind.pl +++ b/tools/cmake/scripts/my_valgrind.pl @@ -14,7 +14,7 @@ my $count = 0; while (defined(my $arg = shift)) { # print "arg($count)$arg\n"; if ($arg =~ m!/smpirun$!) { - @argv = ( $arg, "-wrapper", "@argv" ); + @argv = ( $arg, "-keep-temps", "-wrapper", "@argv" ); } elsif ($arg eq "--cd") { $arg = shift; print "cd $arg\n";