delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/30/05:36:39

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: white box testing in c
Date: 30 Nov 2000 09:32:31 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 15
Message-ID: <9056rf$9mm$1@nets3.rz.RWTH-Aachen.DE>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001130095836 DOT 23133H AT is>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 975576751 9942 137.226.32.75 (30 Nov 2000 09:32:31 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 30 Nov 2000 09:32:31 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

> There are tools which report source coverage when you run a test case: 
> they tell you which source lines were executed during the run and which 
> weren't.

And at least one such tool exists and should work for DJGPP, too:
"gcov", which works with special gcc compilation options
"-ftest-coverage -fprofile-arcs". See "info gcc gcov" for the details.



-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019