I am currently building my project via Jenkins, it works fine. Now I would like to run all my unit tests, using a specific project. It also runs fine. However, failing tests are not detected: the failing assertions are not returning any “error code” to the main.cpp, and so it is not possible to easily check whether everything went fine or not.
Basically, I’d like a failing assert to be “automagically” detected by the caller of my .exe file (a .bat file could test “if ERRORLEVEL…”).
Has anyone found a convenient way to do so?