You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, first I would like to thank you for your work on this project.
After the upgrade to PIO Core 6.1.17 the testing fails in the build stage and throws this error:
.pio/libdeps/native/googletest/googletest/src/gtest-filepath.cc: In static member function ‘static testing::internal::FilePath testing::internal::FilePath::GetCurrentDir()’:
.pio/libdeps/native/googletest/googletest/src/gtest-filepath.cc:60:25: error: ‘_POSIX_PATH_MAX’ was not declared in this scope; did you mean ‘_PC_PATH_MAX’?
60 | #define GTEST_PATH_MAX_ _POSIX_PATH_MAX
| ^~~~~~~~~~~~~~~
.pio/libdeps/native/googletest/googletest/src/gtest-filepath.cc:114:12: note: in expansion of macro ‘GTEST_PATH_MAX_’
114 | char cwd[GTEST_PATH_MAX_ + 1] = {'\0'};
| ^~~~~~~~~~~~~~~
.pio/libdeps/native/googletest/googletest/src/gtest-filepath.cc:115:25: error: ‘cwd’ was not declared in this scope
115 | char* result = getcwd(cwd, sizeof(cwd));
| ^~~
*** [.pio/build/native/lib109/googletest/googletest/src/gtest-filepath.o] Error 1
Building stage has failed, see errors above. Use `pio test -vvv` option to enable verbose output.
--------------- native:test_native [ERRORED] Took 36.92 seconds ---------------
Hi everyone, first I would like to thank you for your work on this project.
After the upgrade to PIO Core 6.1.17 the testing fails in the build stage and throws this error:
The .ini file looks like this:
After downgrading to 6.1.16 everything works as expected. Let me know if I should provide more info.
The text was updated successfully, but these errors were encountered: