diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gtest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gtest.cc b/src/gtest.cc index 1b602f5..677396d 100644 --- a/src/gtest.cc +++ b/src/gtest.cc @@ -3793,8 +3793,9 @@ int UnitTestImpl::RunAllTests() { if (g_help_flag) return 0; - // TODO(vladl@google.com): Add a call to PostFlagParsingInit() here when - // merging into the main branch. + // Repeats the call to the post-flag parsing initialization in case the + // user didn't call InitGoogleTest. + PostFlagParsingInit(); // Even if sharding is not on, test runners may want to use the // GTEST_SHARD_STATUS_FILE to query whether the test supports the sharding |