Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
471f5bc4
Commit
471f5bc4
authored
Feb 04, 2019
by
Gennadiy Civil
Browse files
Merge pull request #2098 from ciband:feat/finish_platformio_support
PiperOrigin-RevId: 232028696
parents
0ea2d8f8
53798de9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
README.md
README.md
+1
-0
googletest/src/gtest-filepath.cc
googletest/src/gtest-filepath.cc
+3
-2
library.json
library.json
+2
-0
No files found.
README.md
View file @
471f5bc4
...
...
@@ -56,6 +56,7 @@ Google test has been used on a variety of platforms:
*
MinGW
*
Windows Mobile
*
Symbian
*
PlatformIO
## Who Is Using Google Test? ##
...
...
googletest/src/gtest-filepath.cc
View file @
471f5bc4
...
...
@@ -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
...
...
library.json
View file @
471f5bc4
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment