-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: modify the error tests for user error handler
It is not clear that after a MPI function calls the user error handler, whether it should return MPI_SUCESS or not. Update the tests not to assume the MPI will return the error code after invoking the error handler. Rationale: if user want the MPI function to return error code, they should use MPI_ERRORS_RETURN instead. Otherwise, we assume the user error handler "resolved" the error. User always can throw an exception in their error handlers.
- Loading branch information
Showing
2 changed files
with
10 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters