Skip to content

Googletest death tests, MPI and fork()

D-01131

Googletest implements death tests with fork(), but child processes using MPI functions (e.g. MPI_Finalize at exit!) is undefined behaviour.

PreDev Notes:

The death tests are still being run for the moment, but are run together, separately from the rest of the tests (i.e. on 1 process, and on several processes with MPI.

An option might be to get a list of death tests and run each one individually... ? A better option would be to have ExSeisDat not crash on error, replacing death tests with catching an exception.

Implementation Notes:

ADDME

System Test Changes:

ADDME

Bug Fixes:

ADDME

C++ API Changes:

ADDME

C API Changes:

ADDME

Success Criteria:

ADDME

CREATED ON - 18/12/2017

Edited by Christopher Werner
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information