X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fe304706848f0a64477d4687b3ea97d5b9a0c35c..HEAD:/teshsuite/smpi/mpich3-test/runtests diff --git a/teshsuite/smpi/mpich3-test/runtests b/teshsuite/smpi/mpich3-test/runtests index d2fb8c8340..f58c0245c0 100755 --- a/teshsuite/smpi/mpich3-test/runtests +++ b/teshsuite/smpi/mpich3-test/runtests @@ -43,6 +43,8 @@ use File::Path; $MPIMajorVersion = "3"; $MPIMinorVersion = "1"; $mpiexec = "smpirun"; # Name of mpiexec program (including path, if necessary) +$platformfile = "../../../../examples/platforms/small_platform_with_routers.xml"; +$hostfile = "../../hostfile_mpich"; $testIsStrict = "true"; $MPIhasMPIX = "no"; $np_arg = "-np"; # Name of argument to specify the number of processes @@ -156,8 +158,10 @@ foreach $_ (@ARGV) { elsif (/--?np=(.*)/) { $np_default = $1; } elsif (/--?maxnp=(.*)/) { $np_max = $1; } elsif (/--?tests=(.*)/) { $listfiles = $1; } + elsif (/--?platformfile=(.*)/) { $platformfile = $1; } + elsif (/--?hostfile=(.*)/) { $hostfile = $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/host-speed:1e9 --cfg=smpi/async-small-thresh:65536"; } + $mpiexec="$mpiexec -platform ${srcdir}/$platformfile -hostfile ${srcdir}/$hostfile --log=root.thr:critical --log=smpi_kernel.thr:warning --cfg=smpi/host-speed:1e9f --cfg=smpi/async-small-thresh:65536 --cfg=smpi/os:1:0.0000003:0.0000002 --cfg=smpi/ois:1:0.0000003:0.0000002"; } elsif (/--?verbose/) { $verbose = 1; } elsif (/--?showprogress/) { $showProgress = 1; } elsif (/--?debug/) { $debug = 1; } @@ -165,7 +169,7 @@ foreach $_ (@ARGV) { elsif (/--?batchdir=(.*)/) { $batrundir = $1; } elsif (/--?timeoutarg=(.*)/) { $timeoutArgPattern = $1; } elsif (/--?execarg=(.*)/) { $execarg = "$execarg $1"; } - elsif (/--?privatization=(.*)/) { + elsif (/--?privatization=(.*)/) { print STDERR "privatization called\n"; $enabled_privatization = $1; } elsif (/--?wrapper=(.*)/) { @@ -426,7 +430,7 @@ sub RunList { if ($needs_privatization == 1 && $enabled_privatization != 1) { SkippedTest($programname, $np, $workdir, "requires SMPI privatization"); - next; + next; } if ($np eq "") { $np = $np_default; } @@ -651,7 +655,11 @@ sub RunMPIProgram { # Skip FORTRAN STOP if (/FORTRAN STOP/) { next; } $inline .= $_; - if (/^==[0-9]+== ?WARNING: ASan doesn't fully support/) { + if (m{^==[0-9]+== ?WARNING: ASan doesn't fully support} || + m{^==[0-9]+== ?WARNING: ASan is ignoring requested __asan_handle_no_return: stack } || + m{^False positive error reports may follow$} || + m{^For details see http://code.google.com/p/address-sanitizer/issues/detail\?id=189$} || + m{^For details see https://github.com/google/sanitizers/issues/189$}) { next; } if (/^\s*No [Ee]rrors\s*$/ && $found_noerror == 0) { @@ -716,7 +724,7 @@ sub AddMPIProgram { if ($ResultTest ne "") { # This test really needs to be run manually, with this test - # Eventually, we can update this to include handleing in checktests. + # Eventually, we can update this to include handling in checktests. print STDERR "Run $curdir/$programname with $np processes and use $ResultTest to check the results\n"; return; }