summaryrefslogtreecommitdiffstats
path: root/googletest/test
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-04-13 07:30:43 (GMT)
committerDino Radaković <dinor@google.com>2021-04-14 00:58:07 (GMT)
commit4400d68de42a77d9709221cb8f179f40c0a21732 (patch)
tree35ff39efeddd139efc69570f5293d8f30dc7745b /googletest/test
parent486a4a6be5565e89ae0d72f532c441423110bc9e (diff)
downloadgoogletest-4400d68de42a77d9709221cb8f179f40c0a21732.zip
googletest-4400d68de42a77d9709221cb8f179f40c0a21732.tar.gz
googletest-4400d68de42a77d9709221cb8f179f40c0a21732.tar.bz2
Googletest export
Add support to run gtest on Xtensa platform. This add support to run GTest base test suits on Xtensa (https://ip.cadence.com/ipportfolio/tensilica-ip) base simulator. Xtensa only provides libc and some basic operations and does not run an operating system by default. PiperOrigin-RevId: 368162205
Diffstat (limited to 'googletest/test')
-rw-r--r--googletest/test/googletest-options-test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/googletest/test/googletest-options-test.cc b/googletest/test/googletest-options-test.cc
index f07b316..11fb1f2 100644
--- a/googletest/test/googletest-options-test.cc
+++ b/googletest/test/googletest-options-test.cc
@@ -42,6 +42,9 @@
# include <windows.h>
#elif GTEST_OS_WINDOWS
# include <direct.h>
+#elif GTEST_OS_OS2
+// For strcasecmp on OS/2
+#include <strings.h>
#endif // GTEST_OS_WINDOWS_MOBILE
#include "src/gtest-internal-inl.h"