We have a test that fails if the test suite is not running with administrator privileges. This is the expected behavior. However, we want to return something other than success from the test suite so that someone remembers to go back and try the tests again as admin.
Is there a way to tell Google Test that the test did not work, but actually failed?
source share