summaryrefslogtreecommitdiff
path: root/src/mongo/unittest/death_test.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2018-06-14 13:06:32 -0400
committerAndrew Morrow <acm@mongodb.com>2018-06-29 15:58:03 -0400
commit40a53c97feca414a66df84bf4bd6ace0437f3ba5 (patch)
tree512d5400095a5c6fb41b351182d472b72d787ce6 /src/mongo/unittest/death_test.cpp
parent5bb5814f47cfa1817b08be9758238925cce46da5 (diff)
downloadmongo-40a53c97feca414a66df84bf4bd6ace0437f3ba5.tar.gz
SERVER-35600 Add support for targeting watchos
(cherry picked from commit 9e1dd9db4bf614c785f51b23f73facc45fd75302)
Diffstat (limited to 'src/mongo/unittest/death_test.cpp')
-rw-r--r--src/mongo/unittest/death_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/unittest/death_test.cpp b/src/mongo/unittest/death_test.cpp
index 0f1b79fb18e..e78a1b6c840 100644
--- a/src/mongo/unittest/death_test.cpp
+++ b/src/mongo/unittest/death_test.cpp
@@ -66,8 +66,8 @@ void DeathTestImpl::_doTest() {
#if defined(_WIN32)
log() << "Skipping death test on Windows";
return;
-#elif defined(__APPLE__) && TARGET_OS_TV
- log() << "Skipping death test on tvOS";
+#elif defined(__APPLE__) && (TARGET_OS_TV || TARGET_OS_WATCH)
+ log() << "Skipping death test on tvOS/watchOS";
return;
#else
int pipes[2];