Why doesn't gcov report any lines being covered by my unit tests?

前端 未结 5 1649
暖寄归人
暖寄归人 2021-02-04 06:23

I am using Xcode 3.2 on 10.6, with the shipped version of gcov and default GCC compiler (both version 4.2.1). I have created a dependent Cocoa unit test bundle which is injected

5条回答
  •  南笙
    南笙 (楼主)
    2021-02-04 06:58

    I was getting 0 coverage when *.gcno files for static library was overwritten by those for shared library.

提交回复
热议问题