[llvm] r302264 - Add NetBSD to the list of platforms supporting death tests. Two unit
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Fri May 5 10:57:46 PDT 2017
Author: joerg
Date: Fri May 5 12:57:45 2017
New Revision: 302264
URL: http://llvm.org/viewvc/llvm-project?rev=302264&view=rev
Log:
Add NetBSD to the list of platforms supporting death tests. Two unit
tests require this for compilation.
Modified:
llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h
llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port.h
Modified: llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h?rev=302264&r1=302263&r2=302264&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h (original)
+++ llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h Fri May 5 12:57:45 2017
@@ -84,6 +84,8 @@
# define GTEST_OS_HPUX 1
#elif defined __native_client__
# define GTEST_OS_NACL 1
+#elif defined __NetBSD__
+# define GTEST_OS_NETBSD 1
#elif defined __OpenBSD__
# define GTEST_OS_OPENBSD 1
#elif defined __QNX__
Modified: llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port.h?rev=302264&r1=302263&r2=302264&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port.h (original)
+++ llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port.h Fri May 5 12:57:45 2017
@@ -793,7 +793,7 @@ using ::std::tuple_size;
(GTEST_OS_MAC && !GTEST_OS_IOS) || \
(GTEST_OS_WINDOWS_DESKTOP && _MSC_VER >= 1400) || \
GTEST_OS_WINDOWS_MINGW || GTEST_OS_AIX || GTEST_OS_HPUX || \
- GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD)
+ GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD || GTEST_OS_NETBSD)
# define GTEST_HAS_DEATH_TEST 1
#endif
More information about the llvm-commits
mailing list