Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #3869 (closed defect: fixed)

Opened 9 years ago

Last modified 8 years ago

Fix incompatibilities between XML output and Hudson's cobertura plugin

Reported by: jdsiiro Owned by: jdsiiro
Priority: normal Milestone:
Component: gcovr Version:
Keywords: Cc:

Description

Several issues with how gcovr generates XML output were identified in  HUDSON-5235. In particular:

  • relative paths to file names should not begin with a leading '/'
  • the report should include a <sources> section to identify paths to the source files.

Attachments

gcovr-3869.patch Download (601 bytes) - added by jan.ruzicka@… 8 years ago.
fix as suggested in HUDSON-5235

Change History

Changed 8 years ago by jan.ruzicka@…

fix as suggested in HUDSON-5235

comment:1 Changed 8 years ago by wehart

  • Status changed from new to assigned

I think I fixed the first issue by using the patch.

The second issue does not seem to be relevant. We _do_ support a 'sources' directory?

I'm assigning this to John so he can confirm that I've addressed the issues in this thread. (I had some difficulty figure out what the specific fixes where that were required.

comment:2 Changed 8 years ago by jdsiiro

Referenced in changeset [2554]:

bugfix: gcovr was only including a <sources> element in the XML report if the user specified -r (resolves #3869)

comment:3 Changed 8 years ago by jdsiiro

  • Status changed from assigned to closed
  • Resolution set to fixed

Patch applied in [2513], <sources> issue resolved in [2554].

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.