From: Arnaud Giersch Date: Thu, 19 Jul 2018 08:54:02 +0000 (+0200) Subject: Add option -wrapper to mpich3 runtests. X-Git-Tag: v3_21~384 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9205a03d20f6136dee07d578a5f31d095f9737ac Add option -wrapper to mpich3 runtests. --- diff --git a/teshsuite/smpi/mpich3-test/runtests b/teshsuite/smpi/mpich3-test/runtests index b3b9965d79..e0a37126d9 100755 --- a/teshsuite/smpi/mpich3-test/runtests +++ b/teshsuite/smpi/mpich3-test/runtests @@ -168,10 +168,9 @@ foreach $_ (@ARGV) { elsif (/--?privatization=(.*)/) { print STDERR "privatization called\n"; $enabled_privatization = $1; } - elsif (/VALGRIND_COMMAND=(.*)/) { - $valgrind = $1; } - elsif (/VALGRIND_OPTIONS=(.*)/) { - $wrapparg = "-wrapper \"$valgrind $1\""; } + elsif (/--?wrapper=(.*)/) { + $wrapparg = "-wrapper \"$1\"" if $1 ne ""; + } elsif (/--?xmlfile=(.*)/) { $xmlfile = $1; if (! ($xmlfile =~ /^\//)) {