
18 Mar
2010
18 Mar
'10
1:20 a.m.
Hi, I have a binary that runs unit tests, 3 tests fail and these tests I have marked as being expected failures after analysis. The binary however produces a non-zero exit code even with these tests marked as expected failures . Is there a way to have the binary return a zero exit code when all the failures are expected and non-zero when some other non-expected failure happens? The test setup uses automatic test registration. Regards, Ahmed