I understand that the WILL_FAIL
test property informs CTest that a test is expected to fail, which in this case means “exits with a non-zero exit code”. However, we have a set of tests that confirm that our application outright aborts when it is supposed to.
How can I inform CTest that this is the desired outcome?