From: Lang Hames Date: Wed, 28 Oct 2015 03:12:51 +0000 (+0000) Subject: [Orc] Disable Orc C API unit tests on non-Darwin while I investigate more X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7ab4e8bd48aa4dad891d4fcad5289c57f4ed1079;p=oota-llvm.git [Orc] Disable Orc C API unit tests on non-Darwin while I investigate more builder failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251484 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ExecutionEngine/Orc/OrcTestCommon.h b/unittests/ExecutionEngine/Orc/OrcTestCommon.h index 18e3874acaf..d7389492291 100644 --- a/unittests/ExecutionEngine/Orc/OrcTestCommon.h +++ b/unittests/ExecutionEngine/Orc/OrcTestCommon.h @@ -46,7 +46,7 @@ public: const Triple& TT = TM->getTargetTriple(); - if (TT.getArch() == Triple::x86_64) + if (TT.getArch() == Triple::x86_64 && TT.isOSDarwin()) return std::move(TM); return nullptr;