This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: testing GCC


Jane chen wrote:
I'm trying to use gcov to get the coverage information
while running testsuite for GCC. However, right after
I compile gcc source code (after I type in the command
"make bootstrap"), I run gcov, there is already
coverage info there although I did not run any
testsuite yet!

You need to give us more info. What commands you typed, what output you got, and why you think this output is wrong.


If particular, you need to explain what you mean when you say that there was already coverage info there.

Can anybody tell me what's wrong and how to get rid of
those coverage info before I start to run testsuite?

You get rid of coverage info by deleting the files that contain it. Deleting the .gcda files should do. However, I am skeptical that there are any .gcda files there. (In older gcc versions, these would be .da files.)


If you have already run the testsuite, then there will be some coverage info generated because the testsuite tests gcov.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]