catch tests not running - clion

I am using catch within clion but the tests do not run when I either compile or run the configuration I've for tests. Clion keeps showing the message "instantiating tests" but nothing actually runs. When I select the Stop button the event log shows that no tests were run. I should also add that I kept getting an error for "#define CATCH_CONFIG_RUNNER" where clion told me it was not used. Not sure why. I added the following entry to my make file instead:

add_definitions(-DCATCH_CONFIG_RUNNER)

Bottom line, tests do not run and I've no idea why.

Thanks

 

 

1

Please sign in to leave a comment.