use GMock initializer instead of GTest

This commit is contained in:
Axel Kohlmeyer
2020-06-16 06:37:35 -04:00
parent 436c7615e0
commit 093c285475

View File

@ -14,6 +14,7 @@
#include "test_main.h"
#include "test_config.h"
#include "test_config_reader.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <cstring>
@ -63,7 +64,7 @@ std::string INPUT_FOLDER = STRINGIFY(TEST_INPUT_FOLDER);
int main(int argc, char **argv)
{
MPI_Init(&argc, &argv);
::testing::InitGoogleTest(&argc, argv);
::testing::InitGoogleMock(&argc, argv);
if (argc < 2) {
usage(std::cerr, argv[0]);