Boost logo

Boost Users :

Subject: [Boost-users] [boost.test] 0 return code with expected failures?
From: Ahmed Badran (ahmed.badran_at_[hidden])
Date: 2010-03-17 21:20:53


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net