• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Code coverage with gcov under SnowLeopard/Xcode 3.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Code coverage with gcov under SnowLeopard/Xcode 3.2


  • Subject: Code coverage with gcov under SnowLeopard/Xcode 3.2
  • From: Frank Illenberger <email@hidden>
  • Date: Sat, 29 Aug 2009 12:30:27 +0200

Hi there,
I used to work with gcov under Leopard to track unit test code coverage. With the latest Xcode 3.2 under SnowLeopard and the 10.6 SDK it does not work anymore. I have a build configuration which adds -lgcov and GCC_GENERATE_TEST_COVERAGE=YES
When I run my tests, I get the usual .gcda and .gcno files, but when I analyze them with the gcov tool, the generated .gcov files show no hits for any line of code.
Does anybody know how to get this to work under 10.6?

Cheers

Frank
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Code coverage with gcov under SnowLeopard/Xcode 3.2
      • From: Kiran B <email@hidden>
  • Prev by Date: Re: problem with docset after installing Xcode 3.2
  • Next by Date: Not all deprecation warnings seen in Xcode 3.2
  • Previous by thread: Re: problem with docset after installing Xcode 3.2
  • Next by thread: Re: Code coverage with gcov under SnowLeopard/Xcode 3.2
  • Index(es):
    • Date
    • Thread