CLion with Boost: Test framework quit unexpectedly
Hi!
I've created a simple test case with Boost Test. When I run the test manually from the terminal with `ctest` everything works fine. Also when I invoke the test executable (defined in CMakeLists) from CLion it finishes without errors. But when I try to run it from CLion I get this response:
Test framework quit unexpectedly
And it does not matter whether I run the test by clicking the icon in the gutter or by invoking the Boost.Test run-configuration -- I still get this message.

As can be seen in the snapshot, the tests seem to run, but CLion's runner still reports the "quit unexpectedly" error. What is wrong? Is there something I need to do to my configuration? I tried to find some property pertaining to Boost or tests in general in the settings -- there aren't any. What do I need to do?
请先登录再写评论。
Hi!
Sorry for the inconvenience. Could you please specify which Boost Test version you are using? If it's 1.59 or earlier please try using the following workaround: https://youtrack.jetbrains.com/issue/CPP-10754#comment=27-2673635. Does that help?
Thank you for your reply, Anna!
Yes, the version of Boost installed on my system (an Ubuntu 14.04) is 1.54.0.
I tried suggested workaround. Now, at least, I get to see some results in the right hand pane. But the left pane still shows "Test framework quit unexpectedly" message. I suspect it might be because one of the options supplied to the runner is "--logger=HRF,all". I don't know how prevent it from being added -- it's not in the run configuration and it's not added by the CMake.
So, how DO I prevent the "--logger=HRF,all" option from being added to the runner that executes my Boost tests?
It's working now. Apparently, one needs to install the 2018.1 EAP version for this workaround to work.
I encountered the same problem using Boost version 1.67.0. If I use Boost version 1.65.1 everything is working fine.
Is there a known workaround for the new Boost version?
@Max, sorry for the late response. Do you still have the issue with Boost 1.67 in the latest stable release (CLion 2018.2.4)?