Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
original_working_dir is needed even when death tests are disabled
UnitTest::GetInstance()->original_working_dir() is documented public API: https://github.com/google/googletest/blob/main/docs/reference/testing.md#original_working_dir-unittestoriginal_working_dir and is used for things like UnitTestOptions::GetAbsolutePathToOutputFile. So stubbing it to just return an empty string breaks many other unit tests unnecessarily if you have a filesystem but not death tests If there's a need to do something special for diskless systems, seems like they should have a distinct check. reverts e5686bb google#3090
- Loading branch information