Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
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



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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.