X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cd62453970416ecd110ca3df5814b3268309f0e7..bc1e3bb10f6d78b9d866b0b8e16a1d9bd37a600b:/buildtools/Cmake/my_valgrind.pl diff --git a/buildtools/Cmake/my_valgrind.pl b/buildtools/Cmake/my_valgrind.pl index a2f4dc00d8..4fc3050c5f 100755 --- a/buildtools/Cmake/my_valgrind.pl +++ b/buildtools/Cmake/my_valgrind.pl @@ -1,7 +1,6 @@ #!/usr/bin/perl -w use strict; my($arg)=""; -my($val_path)="/usr/bin"; #By default my($count)=0; while($count!=$#ARGV+1) @@ -12,11 +11,6 @@ while($count!=$#ARGV+1) chdir ($ARGV[$count+1]); $count++; } - elsif($ARGV[$count] eq "--valgrind") { - print "valgrind_path $ARGV[$count+1]\n"; - $val_path = $ARGV[$count+1]; - $count++; - } else{ $arg="$arg $ARGV[$count]"; } @@ -25,6 +19,6 @@ while($count!=$#ARGV+1) #print "COMMAND : $bin $option $cd $path\n"; #print "cd $path\n"; -#print "$val_path\/valgrind --trace-children=yes --leak-check=full --show-reachable=yes --track-origins=yes --read-var-info=no $bin $option\n"; -print "$val_path\/valgrind $arg\n\n"; -system "$val_path\/valgrind $arg"; +#print "valgrind --trace-children=yes --leak-check=full --show-reachable=yes --track-origins=yes --read-var-info=no $bin $option\n"; +print "valgrind $arg\n\n"; +system "valgrind $arg";