X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/19b3962253112b19308537bc2400de141c119d99..4f994c9a8d72e683e77173cb49c3949447c645cb:/teshsuite/smpi/mpich3-test/runtests diff --git a/teshsuite/smpi/mpich3-test/runtests b/teshsuite/smpi/mpich3-test/runtests index 4bd97a2d43..d2fb8c8340 100755 --- a/teshsuite/smpi/mpich3-test/runtests +++ b/teshsuite/smpi/mpich3-test/runtests @@ -40,8 +40,8 @@ use File::Path; # Global variables -$MPIMajorVersion = "2"; -$MPIMinorVersion = "2"; +$MPIMajorVersion = "3"; +$MPIMinorVersion = "1"; $mpiexec = "smpirun"; # Name of mpiexec program (including path, if necessary) $testIsStrict = "true"; $MPIhasMPIX = "no"; @@ -157,7 +157,7 @@ foreach $_ (@ARGV) { elsif (/--?maxnp=(.*)/) { $np_max = $1; } elsif (/--?tests=(.*)/) { $listfiles = $1; } elsif (/--?srcdir=(.*)/) { $srcdir = $1; - $mpiexec="$mpiexec -platform ${srcdir}/../../../../examples/platforms/small_platform_with_routers.xml -hostfile ${srcdir}/../../hostfile_coll --log=root.thr:critical --cfg=smpi/running-power:1e9 --cfg=smpi/async-small-thresh:65536"; } + $mpiexec="$mpiexec -platform ${srcdir}/../../../../examples/platforms/small_platform_with_routers.xml -hostfile ${srcdir}/../../hostfile_coll --log=root.thr:critical --cfg=smpi/host-speed:1e9 --cfg=smpi/async-small-thresh:65536"; } elsif (/--?verbose/) { $verbose = 1; } elsif (/--?showprogress/) { $showProgress = 1; } elsif (/--?debug/) { $debug = 1; } @@ -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; }