DLR-SC / googletest_mpi

Googletest-mpi - Extension of the Google Test library to support MPI parallel tests
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Googletests own tests break with MPI support #14

Open holke opened 5 months ago

holke commented 5 months ago

Describe the bug

internal tests are not working properly with MPI support.

Steps to reproduce the bug

cmake with

 BUILD_GMOCK                      ON
 BUILD_SHARED_LIBS                OFF
 CMAKE_BUILD_TYPE
 CMAKE_INSTALL_PREFIX             /usr/local
 INSTALL_GTEST                    ON
 gmock_build_tests                OFF
 gtest_build_samples              ON
 gtest_build_tests                ON
 gtest_disable_mpi                OFF
 gtest_disable_pthreads           OFF
 gtest_force_shared_crt           OFF
 gtest_hide_internal_symbols      OFF
make
make test

Does the bug persist in the most recent commit?

We recommend using the latest commit in the master branch in your projects.

What operating system and version are you using?

Ubuntu

What compiler and version are you using?

mpicc -v
mpicc for MPICH version 4.0.2
gcc version 12.1.0 (Spack GCC) 
gcc -v
gcc version 12.1.0 (Spack GCC) 

What build system are you using?

cmake --version
cmake version 3.23.1

Additional context

LastTest.log LastTestsFailed.log CTestCostData.txt