X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0ffc37686edcc803601f76ab51fdfed5fc2f241..6b514200338a9ba7dbb0f0b8f0d244bd74daa07a:/teshsuite/smpi/mpich3-test/pt2pt/sendrecv3.c diff --git a/teshsuite/smpi/mpich3-test/pt2pt/sendrecv3.c b/teshsuite/smpi/mpich3-test/pt2pt/sendrecv3.c index e0c21a7ad9..19ced11b46 100644 --- a/teshsuite/smpi/mpich3-test/pt2pt/sendrecv3.c +++ b/teshsuite/smpi/mpich3-test/pt2pt/sendrecv3.c @@ -35,6 +35,7 @@ int main( int argc, char *argv[] ) if (size < 2) { printf( "This test requires at least 2 processes\n" ); MPI_Abort( MPI_COMM_WORLD, 1 ); + exit(1); } for (testnum=0; msgsizes[testnum] > 0; testnum++) { @@ -50,6 +51,7 @@ int main( int argc, char *argv[] ) fprintf( stderr, "Unable to allocate %d bytes\n", msgSize ); MPI_Abort( MPI_COMM_WORLD, 1 ); + exit(1); } } partner = (rank + 1) % size;