Skip to content

Commit

Permalink
Temporary disable this gmock flag
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Lemenkov <[email protected]>
  • Loading branch information
lemenkov committed Nov 18, 2023
1 parent 66359f4 commit 50d429f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ include(GoogleTest)
add_executable(sipp_unittest EXCLUDE_FROM_ALL ${all_SRCS} "${PROJECT_SOURCE_DIR}/src/sipp_unittest.cpp")
target_compile_features(sipp_unittest PUBLIC cxx_auto_type cxx_range_for)
target_compile_definitions(sipp_unittest PUBLIC "-DGTEST")
target_link_libraries(sipp_unittest ${GTEST_BOTH_LIBRARIES})
gtest_add_tests(TARGET sipp_unittest TEST_PREFIX sipp_unittests:)

# add version
Expand Down
2 changes: 1 addition & 1 deletion src/sipp_unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ int main(int argc, char* argv[])
userVariables = new AllocVariableTable(globalVariables);
main_scenario = new scenario(0, 0);

::testing::GMOCK_FLAG(verbose) = "verbose";
//::testing::GMOCK_FLAG(verbose) = "verbose";
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
Expand Down

0 comments on commit 50d429f

Please sign in to comment.