Replies: 3 comments 6 replies
-
I will have to be honest, I have not touched the host-side unit test stuff at all since I started working on Mbed CE. It's exactly as ARM left it. You should be able to reference the CI workflow that builds the unit tests though, I know that that has whatever's needed to make it work. |
Beta Was this translation helpful? Give feedback.
-
@multiplemonomials I've been making some progress with a lot of trial and errors. I'm also preparing a PR to fix some issues I encountered. One strange behavior I see is that configuring and compiling for unit tests creates hundreds of Any ideas how I could avoid that? |
Beta Was this translation helpful? Give feedback.
-
Alright, new issue: I have a driver target that is linked against Now, I also have unit test for this drivers. The fact that it is linked against In particular, the real Not sure how to fix this |
Beta Was this translation helpful? Give feedback.
-
@multiplemonomials in my quest to move from mbed-os to mbed-ce, I'm facing a new issue: running unit tests on the host computer with Google Tests.
With your previous USCRPL/mbed-cmake, I had managed to set everything up and it was working really well.
Now, I can't seem to find a way to do the same.
Using https://github.com/leka/LekaOS you can try it yourself from the branch
ladislas/feature/move-to-mbed-ce
:Relevant CMakeLists.txt is here: https://github.com/leka/LekaOS/blob/ladislas/feature/move-to-mbed-ce/tests/unit/CMakeLists.txt
Is there documentation on how to set that up?
Thanks for your help :)
Beta Was this translation helpful? Give feedback.
All reactions