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
Add the failing tests name to the final output for mpich3 tests, to ease identification.
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
coll
/
bcastzerotype.c
diff --git
a/teshsuite/smpi/mpich3-test/coll/bcastzerotype.c
b/teshsuite/smpi/mpich3-test/coll/bcastzerotype.c
index 166647879aa74d6dbef78ee6f8e1015ab2d001da..d4a4956cbdf381d4c9ba825b0119fe4929720e20 100644
(file)
--- a/
teshsuite/smpi/mpich3-test/coll/bcastzerotype.c
+++ b/
teshsuite/smpi/mpich3-test/coll/bcastzerotype.c
@@
-26,7
+26,7
@@
int main(int argc, char *argv[])
/* a random non-zero sized buffer */
#define NELEM (10)
/* a random non-zero sized buffer */
#define NELEM (10)
- buf = malloc(NELEM
*
sizeof(int));
+ buf = malloc(NELEM
*
sizeof(int));
assert(buf!=NULL);
for (i = 0; i < NELEM; i++) {
assert(buf!=NULL);
for (i = 0; i < NELEM; i++) {
@@
-47,6
+47,8
@@
int main(int argc, char *argv[])
assert(buf[i] == wrank * NELEM + i);
}
assert(buf[i] == wrank * NELEM + i);
}
+ free(buf);
+
MPI_Type_free(&type);
MPI_Finalize();
MPI_Type_free(&type);
MPI_Finalize();