From: Augustin Degomme Date: Tue, 24 Sep 2019 14:18:25 +0000 (+0200) Subject: activate bsend tests. X-Git-Tag: v3.24~68^2^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8a18400cb9a39be8bcd4f66a9053c6e668c6c2fa activate bsend tests. Modify one to stop spending too much time sleeping as we test with bogus platforms. --- diff --git a/teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c b/teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c index 77d7c16ed1..675b0d0265 100644 --- a/teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c +++ b/teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c @@ -100,9 +100,9 @@ int main(int argc, char *argv[]) NULL, 0, MPI_UNSIGNED_CHAR, source, 10, comm, MPI_STATUS_IGNORE); /* Wait 2 seconds */ - tstart = MPI_Wtime(); - while (MPI_Wtime() - tstart < 2.0); - +/* tstart = MPI_Wtime();*/ +/* while (MPI_Wtime() - tstart < 2.0);*/ + sleep(2); /* Now receive the messages */ MPI_Recv(msg1, msgsize, MPI_UNSIGNED_CHAR, source, 0, comm, &status1); MPI_Recv(msg2, msgsize, MPI_UNSIGNED_CHAR, source, 0, comm, &status2); diff --git a/teshsuite/smpi/mpich3-test/pt2pt/testlist b/teshsuite/smpi/mpich3-test/pt2pt/testlist index 0e47cb17fc..626d088b15 100644 --- a/teshsuite/smpi/mpich3-test/pt2pt/testlist +++ b/teshsuite/smpi/mpich3-test/pt2pt/testlist @@ -8,24 +8,22 @@ anyall 2 eagerdt 2 pingping 2 bottom 2 -#needs MPI_Bsend -#bsend1 1 -#bsend2 1 -#bsend3 1 -#bsend4 1 +bsend1 1 +bsend2 1 +bsend3 1 +bsend4 1 +#needs MPI_Intercomm_create #bsend5 4 -#bsendalign 2 -#bsendpending 2 +bsendalign 2 +bsendpending 2 isendself 1 #issendselfcancel 1 isendirecv 10 -#needs MPI_Buffer_attach, MPI_Bsend, MPI_Buffer_detach -#bsendfrag 2 +bsendfrag 2 #needs MPI_Intercomm_create #icsend 4 rqstatus 2 -#needs MPI_Pack, MPI_Buffer_attach, MPI_Buffer_detach, MPI_Ibsend -#rqfreeb 4 +rqfreeb 4 #needs MPI_Grequest_start MPI_Grequest_complete greq1 1 probe-unexp 4