[SERVER-11084] --gcov doesn't work with --cache Created: 08/Oct/13  Updated: 06/Dec/22  Resolved: 30/Jul/20

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Duplicate Votes: 0
Labels: build-later, coverage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-49877 Create SCons coverage tool Closed
Assigned Teams:
Server Development Platform
Operating System: ALL
Participants:

 Description   

The .gcno files aren't cached.

Short term solution: Error if the flags are mixed.

Long term solution: See if the scons SideEffect feature can do the right thing.



 Comments   
Comment by April Schoffer [ 30/Jul/20 ]

We plan on building a tool as a longer term solution for this.

Comment by Andrew Morrow (Inactive) [ 24/Jul/20 ]

If we want to do a good job with this, we should toolify it and make it understand both clang and gcc coverage options. Adding targets to produce a coverage report from the existing `.gcda` files might be fun too.

Comment by Daniel Moody [ 24/Jul/20 ]

probably just need an emitter on the related builders which will add the coverage output files into the targets list.

Comment by auto [ 08/Oct/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-11084 Error when mixing --gcov and --cache
Branch: master
https://github.com/mongodb/mongo/commit/62d754f99182f2f59b34eb5024848204a4de62dd

Generated at Thu Feb 08 03:24:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.