X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2884c8be7d35ddd7060926a3db3367542e39099f..a44824e9193fdb06f1c31006ba5126c82e4b4ae5:/teshsuite/smpi/mpich3-test/runtests diff --git a/teshsuite/smpi/mpich3-test/runtests b/teshsuite/smpi/mpich3-test/runtests index 1e7ce7cbac..e0a37126d9 100755 --- a/teshsuite/smpi/mpich3-test/runtests +++ b/teshsuite/smpi/mpich3-test/runtests @@ -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 @@ -422,7 +422,7 @@ sub RunList { # skip empty lines if ($programname eq "") { next; } - #if privatization is disabled, and if the test needs it, ignore it + # if privatization is disabled, and if the test needs it, ignore it if ($needs_privatization == 1 && $enabled_privatization != 1) { SkippedTest($programname, $np, $workdir, "requires SMPI privatization"); @@ -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; }