Commit e53c0f3a authored by Pavan Balaji's avatar Pavan Balaji Committed by Junchao Zhang
Browse files

Bug fix for the mpit_vars test.



Some content was being printed even when not in verbose mode causing
the test to incorrectly fail.
Signed-off-by: default avatarJunchao Zhang <jczhang@mcs.anl.gov>
parent e858a6cb
......@@ -187,10 +187,11 @@ int PrintCategories(FILE * fp)
descLen = sizeof(desc);
MPI_T_category_get_info(i, name, &nameLen, desc, &descLen, &numCvars,
&numPvars, &numSubcat);
if (verbose)
if (verbose) {
fprintf(fp, "Category %s has %d control variables, %d performance variables, %d subcategories\n",
name, numCvars, numPvars, numSubcat);
fprintf(fp, "\tDescription: %s\n", desc);
}
if (numCvars > 0) {
if (verbose)
......
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