freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Lowden, James K" <LowdenJK AT bernstein.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] placeholders and messages
- Date: Thu, 14 Apr 2005 14:13:53 -0400
> From: ZIGLIO, Frediano, VF-IT
> Sent: Thursday, April 14, 2005 8:55 AM
>
> > > Is there some automated way of using gcc to implement test
> > > coverage? Or did you mean to use autoconf somehow?
> >
> > man gcov.
> > Briefly
> > - compile with -fprofile-arcs -ftest-coverage (ie "CFLAGS='-O0
> > -fprofile-arcs -ftest-coverage' ./configure" and make)
> > - go in source directory and launch gcov (ie "gcov -c cs.c")
> > - read cs.c...
>
> http://freetds.sourceforge.net/coverage/
Wow. Facinating.
I understand now. gcov measures coverage of whatever code is executed.
We write the tests (you obviously used the unit tests), and it shows
which code was exercised. Can that URL be automatically updated?
I looked at the dblib coverage. A lot of the not-covered code is error
code, like returning FAIL if dbproc == NULL. I would say it would be a
waste of time to write a test to make sure every function fails that
way. But there are functions and functionality that are never touched.
Looking at bcp.c, I see my own predilections e.g. no test for text and
data or native mode. Scripting a test with freebcp would help.
Nice work. Thanks.
--jkl
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named
above. If you are not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, any review,
dissemination,
distribution or duplication of this communication is strictly prohibited. If
you are
not the intended recipient, please contact the sender immediately by reply
and destroy all copies of the original message. Please note that we do not
accept
account orders and/or instructions by e-mail, and therefore will not be
responsible
for carrying out such orders and/or instructions. If you, as the intended
recipient
of this message, the purpose of which is to inform and update our clients,
prospects
and consultants of developments relating to our services and products, would
not
like to receive further e-mail correspondence from the sender, please "reply"
to the
sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New
York,
NY 10105.
-
[freetds] placeholders and messages,
Lowden, James K, 04/06/2005
- Re: [freetds] placeholders and messages, Frediano Ziglio, 04/06/2005
- <Possible follow-up(s)>
- RE: [freetds] placeholders and messages, Lowden, James K, 04/06/2005
- RE: [freetds] placeholders and messages, ZIGLIO, Frediano, VF-IT, 04/07/2005
- RE: [freetds] placeholders and messages, ZIGLIO, Frediano, VF-IT, 04/08/2005
-
RE: [freetds] placeholders and messages,
Lowden, James K, 04/08/2005
-
RE: [freetds] placeholders and messages,
Frediano Ziglio, 04/09/2005
- Re: [freetds] placeholders and messages, James K. Lowden, 04/10/2005
-
RE: [freetds] placeholders and messages,
Frediano Ziglio, 04/09/2005
- RE: [freetds] placeholders and messages, ZIGLIO, Frediano, VF-IT, 04/11/2005
- RE: [freetds] placeholders and messages, ZIGLIO, Frediano, VF-IT, 04/14/2005
-
RE: [freetds] placeholders and messages,
Lowden, James K, 04/14/2005
- RE: [freetds] placeholders and messages, Frediano Ziglio, 04/15/2005
Archive powered by MHonArc 2.6.24.