Commit 471f5bc4 authored by Gennadiy Civil's avatar Gennadiy Civil
Browse files

Merge pull request #2098 from ciband:feat/finish_platformio_support

PiperOrigin-RevId: 232028696
parents 0ea2d8f8 53798de9
......@@ -56,6 +56,7 @@ Google test has been used on a variety of platforms:
* MinGW
* Windows Mobile
* Symbian
* PlatformIO
## Who Is Using Google Test? ##
......
......@@ -92,8 +92,9 @@ static bool IsPathSeparator(char c) {
// Returns the current working directory, or "" if unsuccessful.
FilePath FilePath::GetCurrentDir() {
#if GTEST_OS_WINDOWS_MOBILE || GTEST_OS_WINDOWS_PHONE || GTEST_OS_WINDOWS_RT
// Windows CE doesn't have a current directory, so we just return
#if GTEST_OS_WINDOWS_MOBILE || GTEST_OS_WINDOWS_PHONE || \
GTEST_OS_WINDOWS_RT || ARDUINO
// Windows CE and Arduino don't have a current directory, so we just return
// something reasonable.
return FilePath(kCurrentDirectoryString);
#elif GTEST_OS_WINDOWS
......
......@@ -27,6 +27,7 @@
"googlemock/make",
"googlemock/msvc",
"googlemock/scripts",
"googlemock/src/gmock_all.cc",
"googlemock/src/gmock_main.cc",
"googlemock/test",
"googlemock/CMakeLists.txt",
......@@ -38,6 +39,7 @@
"googletest/make",
"googletest/msvc",
"googletest/scripts",
"googletest/src/gtest_all.cc",
"googletest/src/gtest_main.cc",
"googletest/test",
"googletest/xcode",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment