]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/smpi/mpich3-test/datatype/contents.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update filter line for recent versions of Asan.
[simgrid.git] / teshsuite / smpi / mpich3-test / datatype / contents.c
index af37561fdb496f97b526848f81e46e23668f9129..4ae792a421b384d241399fe5d344e8b4c99957cf 100644 (file)
@@ -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++;