[mpich] MPICH primary repository branch, master, updated. v3.1b1-103-ga5d05b3
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "MPICH primary repository". The branch, master has been updated via a5d05b36251a7ab0243095a93869f5d9f9ad3bd3 (commit) from 9f7f11253aee100565a379632c74139a02f4bbec (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.mpich.org/mpich.git/commitdiff/a5d05b36251a7ab0243095a93869f5d9f9... commit a5d05b36251a7ab0243095a93869f5d9f9ad3bd3 Author: William Gropp <[email protected]> Date: Thu Oct 24 10:46:58 2013 -0500 Allow MPI_ERR_IO as error class in test The test was too prescriptive about the allowed error classes. ERR_NO_SUCH_FILE is a better choice, but ERR_IO is valid. Signed-off-by: Rob Latham <[email protected]> diff --git a/test/mpi/errors/io/openerr.c b/test/mpi/errors/io/openerr.c index 06cb814..8135974 100644 --- a/test/mpi/errors/io/openerr.c +++ b/test/mpi/errors/io/openerr.c @@ -47,9 +47,9 @@ int main( int argc, char *argv[] ) MPI_Error_class( err, &ec ); MPI_Error_string( err, emsg, &emsglen ); MTestPrintfMsg( 2, "Error msg from open: %s\n", emsg ); - if (ec != MPI_ERR_NO_SUCH_FILE) { + if (ec != MPI_ERR_NO_SUCH_FILE && ec != MPI_ERR_IO) { errs++; - printf( "Did not return class ERR_NO_SUCH_FILE\n" ); + printf( "Did not return class ERR_NO_SUCH_FILE or ERR_IO\n" ); printf( "Returned class %d, message %s\n", ec, emsg ); } } @@ -137,8 +137,10 @@ int main( int argc, char *argv[] ) } else { MPI_Error_class( err, &ec ); - if (ec != MPI_ERR_NO_SUCH_FILE) { + if (ec != MPI_ERR_NO_SUCH_FILE && ec != MPI_ERR_IO) { errs++; + printf( "Did not return class ERR_NO_SUCH_FILE or ERR_IO\n" ); + printf( "Returned class %d, message %s\n", ec, emsg ); } } } ----------------------------------------------------------------------- Summary of changes: test/mpi/errors/io/openerr.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) hooks/post-receive -- MPICH primary repository
participants (1)
-
noreply@mpich.org