X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4053aa3664112bd4c6e0d182e0c2aeb5662edfdf..29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85:/teshsuite/smpi/mpich3-test/runtests diff --git a/teshsuite/smpi/mpich3-test/runtests b/teshsuite/smpi/mpich3-test/runtests index ea6c304149..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 =~ /^\//)) { @@ -282,6 +281,7 @@ else { print "TAP formatted results in $tapfullfile\n"; } } +exit ($err_count > 0); # # --------------------------------------------------------------------------- # Routines @@ -651,6 +651,9 @@ sub RunMPIProgram { # Skip FORTRAN STOP if (/FORTRAN STOP/) { next; } $inline .= $_; + if (/^==[0-9]+== ?WARNING: ASan doesn't fully support/) { + next; + } if (/^\s*No [Ee]rrors\s*$/ && $found_noerror == 0) { $found_noerror = 1; }