From: Hans-Bernhard Broeker 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: 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 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.