[clang-tools-extra] r344827 - Disable unittests/clangd/JSONTransportTests.cpp on versions of macosx

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 19 19:11:46 PDT 2018


Author: ahatanak
Date: Fri Oct 19 19:11:45 2018
New Revision: 344827

URL: http://llvm.org/viewvc/llvm-project?rev=344827&view=rev
Log:
Disable unittests/clangd/JSONTransportTests.cpp on versions of macosx
earlier than 10.13.

rdar://problem/45310173

Modified:
    clang-tools-extra/trunk/unittests/clangd/JSONTransportTests.cpp

Modified: clang-tools-extra/trunk/unittests/clangd/JSONTransportTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/JSONTransportTests.cpp?rev=344827&r1=344826&r2=344827&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/JSONTransportTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/JSONTransportTests.cpp Fri Oct 19 19:11:45 2018
@@ -17,8 +17,9 @@ namespace clang {
 namespace clangd {
 namespace {
 
-// No fmemopen on windows, so we can't easily run this test.
-#ifndef WIN32
+// No fmemopen on windows or on versions of MacOS X earlier than 10.13, so we
+// can't easily run this test.
+#if !(defined(WIN32) || __MAC_OS_X_VERSION_MIN_REQUIRED < 101300)
 
 // Fixture takes care of managing the input/output buffers for the transport.
 class JSONTransportTest : public ::testing::Test {




More information about the cfe-commits mailing list