Feature #1601

Unit test executable is removed by cmake if test fails

Added by pospelov over 3 years ago. Updated over 3 years ago.

Status:ResolvedStart date:02 Sep 2016
Priority:NormalDue date:
Assignee:wuttke% Done:

0%

Category:-
Target version:-

Description

I'm observing following behavior.

If unit test fails (e.g. with segmentation fault) - CMake machinery automatically deletes the target (i.e. ./bin/TestCore) and I'm not able to run this executable in a debugger. Is it possible to instruct CMake not to do this?

History

#1 Updated by wuttke over 3 years ago

  • Status changed from Backlog to Sprint
  • Assignee set to wuttke

#2 Updated by wuttke over 3 years ago

  • Status changed from Sprint to Resolved

Resolved in c5f3988.

After each recompilation, all stage 0 unit tests are rerun. This is slightly inconvenient, but there is no easy way around.

Also available in: Atom PDF