Skip to content

Commit 7128fe6

Browse files
committed
Correct check for report 'run' output
The report type 'run' is intended to display each test as it is executed. Correct the check for the output in case another report type is added between the 'summary' and 'run' type. Signed-off-by: Christoph Niethammer <[email protected]>
1 parent 9be41b0 commit 7128fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mpi_test_suite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ int main (int argc, char * argv[])
435435
if (tst_test_check_sync (&tst_env))
436436
MPI_Barrier (MPI_COMM_WORLD);
437437

438-
if (tst_global_rank == 0 && tst_report > TST_REPORT_SUMMARY)
438+
if (tst_global_rank == 0 && tst_report >= TST_REPORT_RUN)
439439
printf ("%s tests %s (%d/%d), comm %s (%d/%d), type %s (%d/%d)\n",
440440
tst_test_getclass_string (tst_env.test),
441441
tst_test_getdescription (tst_env.test), tst_env.test+1, num_tests,

0 commit comments

Comments
 (0)