From b13ed025d5deb297a7b54d6ede82925b066eee1e Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 17 Jul 2018 23:36:03 +0200 Subject: [PATCH] my_valgrind.pl: pass keep-temps to smpirun so that valgrind can analyse the binaries on memleaks --- tools/cmake/scripts/my_valgrind.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.20.1