[SOLVED] Default project doesn't start tests
I have a problem with running the CUTE plugin in Eclipse Indigo.
I got boost 1.49.0 installed, CUTE 1.7 (CUTE plugin 4.4.0) and cppunit 1.12. I have 1 CUTE project testing a library which seems to run ok, but now when I aad a new CUTE project or CUTE Suite, add the includepath to the boost library, build the project and run as CUTE, the tests are not popping up in the CUTE dialog. Via debug as I do see the're being executed.
Any idea on how to resolve this?
cute.png (274 KB)
RE: Default project doesn't start tests - Added by m s over 5 years ago
I'm still testing this and what I see is that while debugging through the CUTE test projects, the tests are indeed executed and the output is put in the console view of eclipse. Though, the CUTE view in eclipse is not populated with the test results... Still no idea why this happens.
[SOLVED] Default project doesn't start tests - Added by m s over 5 years ago
Found the answer here:
These lines fixed it:
Updated by Emanuel Graf about 1 year ago
Try to include "-static" in your linker command.
Project Properties -> C/C++ Build -> Settings -> Tool Settings -> MinGW C++ Linker -> Miscellaneos -> Linker flags
Have to bump this as it helped me.
Runing the tests with RunAs from the MenuBar or right click RunAs didnt generate any results.
Runing the same code with DebugAs worked perfectly.
Now the RunAS also works by using the -static flag.