Actions
Bug #3464
closedJenkins: error with Boost.Test expected failures
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Build
Target version:
-
Start date:
02/11/2016
Due date:
% Done:
0%
Estimated time:
Description
Steps to reproduce:
- create a unit test case that uses Boost.Test expected failures
- trigger a build on Jenkins
Expected: the test case is shown as "expected failure", and the build is successful
Actual: "Skipping Cobertura coverage report as build was not UNSTABLE or better ..."
Updated by Junxiao Shi over 9 years ago
Updated by Alex Afanasyev over 9 years ago
- Status changed from New to Rejected
This is not Jenkins error. It is deficiency of of Boost.Test. As far as I understand, the expected failures apply only to CHECK statement and do not work with REQUIRE.
Just in case. With REQUIRE and expected failure, the unit tests are effectively fail (the return code is non 0). If you rewrite to use CHECK, the unit tests will succeed, though I didn't check it with Jenkins.
Actions