Commit 63298b2f authored by Min Si's avatar Min Si
Browse files

Simplify test setting of min/full datatype tests.


Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>
parent 3f5194a0
......@@ -39,10 +39,9 @@ int main( int argc, char *argv[] )
MTEST_DATATYPE_FOR_EACH_COUNT(count) {
/* Only run full datatype tests in comm world to shorten test time. */
if (comm == MPI_COMM_WORLD) {
MTestInitFullDatatypes();
} else {
/* To shorten test time, only run the default version of datatype tests
* for comm world and run the minimum version for other communicators. */
if (comm != MPI_COMM_WORLD) {
MTestInitMinDatatypes();
}
......
......@@ -35,10 +35,9 @@ int main( int argc, char *argv[] )
count = 1;
MTEST_DATATYPE_FOR_EACH_COUNT(count) {
/* Only run full datatype tests in comm world to shorten test time. */
if (comm == MPI_COMM_WORLD) {
MTestInitFullDatatypes();
} else {
/* To shorten test time, only run the default version of datatype tests
* for comm world and run the minimum version for other communicators. */
if (comm != MPI_COMM_WORLD) {
MTestInitMinDatatypes();
}
......
......@@ -42,10 +42,9 @@ int main( int argc, char *argv[] )
for (count = 1; count < MAX_COUNT; count = count * 2) {
/* Only run full datatype tests in comm world to shorten test time. */
if (comm == MPI_COMM_WORLD) {
MTestInitFullDatatypes();
} else {
/* To shorten test time, only run the default version of datatype tests
* for comm world and run the minimum version for other communicators. */
if (comm != MPI_COMM_WORLD) {
MTestInitMinDatatypes();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment