| Subject: | Re: code coverage patch |
|---|---|
| From: | Korry Douglas |
| Date: | Thu, 28 Aug 2008 09:08:46 -0400 |
| Newsgroups: | pgsql.hackers |
The problem with those files is that the source file contains lines like this:#line 1042 "y.tab.c" but that source file does not exist, as it is renamed to gram.c. We could fix that in one of two ways:1) Use bison's -o option to put the output file in the right place directly, if we are dealing with bison (and don't bother to support code coverageanalysis with other yaccs), or2) Run a pattern replacement across the grammar output files as their arerenamed. Why not use the %output directive in the grammar file instead; that way you don't need to add any special flags to the Makefile.
-- Korry
--
Sent via pgsql-hackers mailing list (pgsql-hackers@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: code coverage patch, Gregory Stark |
|---|---|
| Next by Date: | Re: code coverage patch, Peter Eisentraut |
| Previous by Thread: | Re: code coverage patch, Peter Eisentraut |
| Next by Thread: | Re: code coverage patch, Peter Eisentraut |
| Indexes: | [Date] [Thread] [Top] [All Lists] |