testing GCC
Jim Wilson
wilson@specifixinc.com
Wed Feb 25 02:07:00 GMT 2004
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
More information about the Gcc-bugs
mailing list