summaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest-port_test.cc
diff options
context:
space:
mode:
authorTanzinul Islam <t_17_7@hotmail.com>2018-05-13 10:42:21 (GMT)
committerTanzinul Islam <t_17_7@hotmail.com>2018-05-13 10:42:21 (GMT)
commit3280099951c51b7d2745bd840f2dd9d967cffcda (patch)
tree3f76ba85031bac42ebc77f99c49d48ae480964bb /googletest/test/gtest-port_test.cc
parent10f05a627c2da8d7de78da1b08f984ce8de398fb (diff)
parent08d5b1f33af8c18785fb8ca02792b5fac81e248f (diff)
downloadgoogletest-3280099951c51b7d2745bd840f2dd9d967cffcda.zip
googletest-3280099951c51b7d2745bd840f2dd9d967cffcda.tar.gz
googletest-3280099951c51b7d2745bd840f2dd9d967cffcda.tar.bz2
Merge branch 'master' into fix_death_test_child_mingw_wer_issue1116
Diffstat (limited to 'googletest/test/gtest-port_test.cc')
-rw-r--r--googletest/test/gtest-port_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/test/gtest-port_test.cc b/googletest/test/gtest-port_test.cc
index 51956f0..3801e5e 100644
--- a/googletest/test/gtest-port_test.cc
+++ b/googletest/test/gtest-port_test.cc
@@ -296,7 +296,7 @@ TEST(FormatCompilerIndependentFileLocationTest, FormatsUknownFileAndLine) {
EXPECT_EQ("unknown file", FormatCompilerIndependentFileLocation(NULL, -1));
}
-#if GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_QNX
+#if GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_QNX || GTEST_OS_FUCHSIA
void* ThreadFunc(void* data) {
internal::Mutex* mutex = static_cast<internal::Mutex*>(data);
mutex->Lock();
@@ -340,7 +340,7 @@ TEST(GetThreadCountTest, ReturnsCorrectValue) {
TEST(GetThreadCountTest, ReturnsZeroWhenUnableToCountThreads) {
EXPECT_EQ(0U, GetThreadCount());
}
-#endif // GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_QNX
+#endif // GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_QNX || GTEST_OS_FUCHSIA
TEST(GtestCheckDeathTest, DiesWithCorrectOutputOnFailure) {
const bool a_false_condition = false;