A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reduce size of recently added tests, to avoid them taking so long to complete
[simgrid.git]
/
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
e0c21a7
..
19ced11
100644
(file)
--- 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 );
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++) {
}
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 );
fprintf( stderr, "Unable to allocate %d bytes\n",
msgSize );
MPI_Abort( MPI_COMM_WORLD, 1 );
+ exit(1);
}
}
partner = (rank + 1) % size;
}
}
partner = (rank + 1) % size;