Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Computing c++ code coverafe using gcov

Status
Not open for further replies.

winsaravanan

Programmer
Nov 23, 2009
1
US
I am trying to check gcov for code coverage analysis for a few test script before trying it out in bigger implementations.
When I do a
g++ -fprofile-arcs -ftest-coverage -pg testcpp.cpp

.gcda files aren't getting generated as a result of which gcov testcpp.cpp is failing.Any help will be appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top