From 2036b7e0e74317037c64f68121a00beac23ed1a0 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 26 Jul 2019 14:34:49 +0200 Subject: [PATCH] activate a fortran test --- src/smpi/bindings/smpi_f77_comm.cpp | 5 ++--- src/smpi/bindings/smpi_f77_type.cpp | 4 ++-- src/smpi/mpi/smpi_datatype.cpp | 8 ++++++-- teshsuite/smpi/mpich3-test/f77/datatype/testlist | 2 +- teshsuite/smpi/mpich3-test/f90/datatype/CMakeLists.txt | 6 +++--- teshsuite/smpi/mpich3-test/f90/datatype/structf.f90 | 3 ++- teshsuite/smpi/mpich3-test/f90/datatype/testlist | 2 +- 7 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/smpi/bindings/smpi_f77_comm.cpp b/src/smpi/bindings/smpi_f77_comm.cpp index 8e3c44c200..4ea26641c3 100644 --- a/src/smpi/bindings/smpi_f77_comm.cpp +++ b/src/smpi/bindings/smpi_f77_comm.cpp @@ -100,9 +100,8 @@ void mpi_comm_free_keyval_ (int* keyval, int* ierr) { void mpi_comm_get_name_ (int* comm, char* name, int* len, int* ierr){ *ierr = MPI_Comm_get_name(simgrid::smpi::Comm::f2c(*comm), name, len); - if(*len>0) - for(int i = *len; i0) - name[*len]=' '; + for(int i = *len; i