Project

General

Profile

Actions

Bug #3464

closed

Jenkins: error with Boost.Test expected failures

Added by Junxiao Shi over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Build
Target version:
-
Start date:
02/11/2016
Due date:
% Done:

0%

Estimated time:

Description

Steps to reproduce:

  1. create a unit test case that uses Boost.Test expected failures
  2. 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 ..."

Actions #2

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

Also available in: Atom PDF