This is the mail archive of the gcc@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]

Re: test case coverage ?


   Date: Thu, 16 Jul 1998 09:27:00 +0200
   From: Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>

   > I'm trying to find out what fraction of the G++ source code (gcc/cp/*.c)
   > is exercised by the current G++ test suite. 

   I haven't tried myself, but I agree that it would be extremely
   valuable to get these data.

   Not only would it allow to complete the test suite, but also to
   eliminate dead code.

Note that this information can be obtained by using gcov program and
it's profiling facilities, on cc1plus.  It will show exactly which
parts of the c++ front end actually ever execute.

Later,
David S. Miller
davem@dm.cobaltmicro.com


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