X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9deda161a84a426d0ea75ec4bd9b8cdc3a4b28fb..1b4e20873a7bd405842f3d8d1e6dd1d518db5535:/teshsuite/smpi/mpich3-test/runtests diff --git a/teshsuite/smpi/mpich3-test/runtests b/teshsuite/smpi/mpich3-test/runtests index 3efbc12941..88188fed90 100755 --- a/teshsuite/smpi/mpich3-test/runtests +++ b/teshsuite/smpi/mpich3-test/runtests @@ -83,7 +83,7 @@ $depth = 0; # This is used to manage multiple open list files # Build flags $remove_this_pgm = 0; -$clean_pgms = 1; +$clean_pgms = 0; my $program_wrapper = ''; @@ -154,7 +154,7 @@ foreach $_ (@ARGV) { elsif (/--?maxnp=(.*)/) { $np_max = $1; } elsif (/--?tests=(.*)/) { $listfiles = $1; } elsif (/--?srcdir=(.*)/) { $srcdir = $1; - $mpiexec="$mpiexec -platform ${srcdir}/../small_platform_with_routers.xml -hostfile ${srcdir}/../hostfile --log=root.thr:critical --cfg=smpi/running_power:1e9"; } + $mpiexec="$mpiexec -platform ${srcdir}/../../../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir}/../hostfile --log=root.thr:critical --cfg=smpi/running_power:1e9"; } elsif (/--?verbose/) { $verbose = 1; } elsif (/--?showprogress/) { $showProgress = 1; } elsif (/--?debug/) { $debug = 1; } @@ -753,6 +753,11 @@ sub AddMPIProgram { # Return value is 0 on success, non zero on failure sub BuildMPIProgram { my $programname = shift; + if (! -x $programname) { + die "Could not find $programname. Aborting.\n"; + } + return 0; + # THE FOLLOWING IS DISABLED. my $xfail = shift; my $rc = 0; if ($verbose) { print STDERR "making $programname\n"; }