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
i'm on PlatformIO in VScode, using Unity as test suite.
i am using Windows 10, installed minGW, test compiles and runs whitout including ArduinoFake".
As soon as i do it, ( without adding code to the test file) i get that error.
i assume it's not a minGW issue, because if i coment the "#include" and "using namespace" lines, the tests run correctly (for the hardcoded assertion).
I can run the unit test you have provided here without an issue. The only slight modification I made is the include line, I believe it should be:
#include <ArduinoFake.h>
The error Program errored with 3221225785 code indicates a segmentation fault. Hard to tell where it comes from. Maybe try increase the verbose level of pio test: pio test -vvv?
Good morning, i am wrapping my head around this.
i'm on PlatformIO in VScode, using Unity as test suite.
i am using Windows 10, installed minGW, test compiles and runs whitout including ArduinoFake".
As soon as i do it, ( without adding code to the test file) i get that error.
i assume it's not a minGW issue, because if i coment the "#include" and "using namespace" lines, the tests run correctly (for the hardcoded assertion).
platformio.ini
test_constructors.cpp
command output
Any hints? as i am not including any code, i think i am not missing any part of the function mocking.
i also searched some posts regarding that exact error code, and reinstalled minGW in consequence. but still no success.
Thanks!
The text was updated successfully, but these errors were encountered: