X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8d7ea40ec3f59b852b27ccb5ed9f75ab8ed6ffa0..8e4a5c074a1b17227be6cfadbad2477b66666aee:/teshsuite/smpi/mpich3-test/datatype/contents.c diff --git a/teshsuite/smpi/mpich3-test/datatype/contents.c b/teshsuite/smpi/mpich3-test/datatype/contents.c index af37561fdb..4ae792a421 100644 --- a/teshsuite/smpi/mpich3-test/datatype/contents.c +++ b/teshsuite/smpi/mpich3-test/datatype/contents.c @@ -97,7 +97,7 @@ int builtin_float_test(void) err = MPI_Type_get_envelope(MPI_FLOAT, &nints, &nadds, &ntypes, &combiner); - if (combiner != MPI_COMBINER_NAMED) + if (combiner != MPI_COMBINER_NAMED || err != MPI_SUCCESS) errs++; if (verbose && combiner != MPI_COMBINER_NAMED) fprintf(stderr, "combiner = %s; should be named\n", combiner_to_string(combiner)); @@ -307,7 +307,7 @@ int optimizable_vector_of_basics_test(void) /* decode */ err = MPI_Type_get_envelope(parent_type, &nints, &nadds, &ntypes, &combiner); - if (nints != 3) + if (nints != 3 || err != MPI_SUCCESS) errs++; if (nadds != 0) errs++; @@ -389,7 +389,7 @@ int indexed_of_basics_test(void) /* decode */ err = MPI_Type_get_envelope(parent_type, &nints, &nadds, &ntypes, &combiner); - if (nints != 7) + if (nints != 7 || err != MPI_SUCCESS) errs++; if (nadds != 0) errs++;