Display test exit status when tests fails after running `make test`
I am using cmake add_test directive to add a test to my project. From the test i exit with non-zero status code when there is something wrong. I check multiple things in the test and exit with a different status code for each check if it fails. But when i run make test
or ctest -V
i don't see the exit status number (the return code) in the output so i don't know which test failed. It would be good to display that information in the test output.