Fixes gtest_filter_unittest and gtest_help_test on systems without death tests.

This commit is contained in:
vladlosev
2010-04-08 01:01:12 +00:00
parent d21c142eb8
commit eddd9e85a8
3 changed files with 81 additions and 62 deletions

View File

@@ -40,3 +40,7 @@
TEST(HelpFlagTest, ShouldNotBeRun) {
ASSERT_TRUE(false) << "Tests shouldn't be run when --help is specified.";
}
#if GTEST_HAS_DEATH_TEST
TEST(DeathTest, UsedByPythonScriptToDetectSupportForDeathTestsInThisBinary) {}
#endif