Commit dc1eb333 authored by Kenneth Raffenetti's avatar Kenneth Raffenetti
Browse files

fixup test for abort with fault tolerance



MPICH now behaves correctly for this test. There is no reason for it to output
" No errors", since the only thing we are testing for is that it does not
timeout. We also use a non-zero error code in MPI_Abort to fit the requirements
of the test runner. Closes #1537
Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>
parent 6d818532
......@@ -14,11 +14,8 @@ int main(int argc, char **argv)
MPI_Init(&argc, &argv);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
printf(" No Errors\n");
fflush( stdout );
if (rank == 0)
MPI_Abort(MPI_COMM_WORLD, MPI_SUCCESS);
MPI_Abort(MPI_COMM_WORLD, 1);
while(1)
;
......
die 4 env=MPIR_CVAR_ENABLE_FT=1 mpiexecarg=-disable-auto-cleanup timeLimit=10 strict=false resultTest=TestStatusNoErrors
abort 2 env=MPIR_CVAR_ENABLE_FT=1 mpiexecarg=-disable-auto-cleanup timeLimit=10 strict=false xfail=ticket1537
abort 2 env=MPIR_CVAR_ENABLE_FT=1 mpiexecarg=-disable-auto-cleanup timeLimit=10 strict=false resultTest=TestStatus
sendalive 4 env=MPIR_CVAR_ENABLE_FT=1 mpiexecarg=-disable-auto-cleanup timeLimit=10 strict=false resultTest=TestStatusNoErrors
isendalive 3 env=MPIR_CVAR_ENABLE_FT=1 mpiexecarg=-disable-auto-cleanup resultTest=TestStatusNoErrors strict=false
multi_isendalive 4 env=MPIR_CVAR_ENABLE_FT=1 mpiexecarg=-disable-auto-cleanup resultTest=TestStatusNoErrors strict=false
......
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