Running Cross compiled tests
Answered
I'm using MinGW to compile a c++ library. It uses Gtest to test the code. I want to run the tests, they compile fine as an exe, and i can run them from the command line using wine Tests.exe
. However Clion does not pick them up with the test runner because well, obviously Linux cant run a windows exe. How to i configure the target to run with Wine?
Please sign in to leave a comment.
Hello!
It's not possible currently. We have a feature request about supporting custom executable for GTest - CPP-19048. Its implementation may help in your scenario. Feel free to comment or upvote the issue in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.