[gs-devel] code coverage of .ps files

Cheri Pompeo CPompeo at uascwa.com
Fri Jul 27 09:51:58 PDT 2007


Correct. I'm using TrueCoverage (VC6) on the C files.
I don't mind hacking but I'm not sure how to print to a file from the .ps
files. (assuming that is the best route to take)
I'm thinking if I can somehow get the line number and filename of what ever
line on the .ps file I am using, I can go from there. 
Cheri

-----Original Message-----
From: Ralph Giles [mailto:giles at ghostscript.com] 
Sent: Friday, July 27, 2007 9:41 AM
To: Cheri Pompeo
Cc: 'gs-devel at ghostscript.com'
Subject: Re: [gs-devel] code coverage of .ps files

On Fri, Jul 27, 2007 at 09:42:16AM -0700, Cheri Pompeo wrote:

> I need to provide code coverage on the .ps files that the Ghostscript
> interpreter uses and I can't see how to do this.

Just to clarify: you're looking for code coverage on the postscript 
library files used by Ghostscript, not on the C source files used
by Ghostscript?

GCC has support for the later, but the former will require some hacking. 
The interpreter doesn't keep much debug information around after it 
parses the files.

 -r
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ghostscript.com/pipermail/gs-devel/attachments/20070727/ad17d153/attachment-0002.htm


More information about the gs-devel mailing list