mirror of
https://github.com/google/googletest.git
synced 2025-12-10 01:12:12 +08:00
Fixes gtest_filter_unittest and gtest_help_test on systems without death tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user