Re: New propossed GnomeGoal: Add code coverage support
- From: Emmanuele Bassi <ebassi gmail com>
- To: desktop-devel-list gnome org
- Subject: Re: New propossed GnomeGoal: Add code coverage support
- Date: Sun, 10 Jan 2010 09:58:57 +0000
On Sun, 2010-01-10 at 00:01 +0200, Stefan Kost wrote:
> Also in the lgo page you gave this commit as an example:
> http://git.gnome.org/browse/json-glib/commit/?id=5b4186eb60e953ddbaadcd53b1996d28b06d4a97
>
> I don't think it is a good one. In the configure check it does:
> + GCOV_CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
> + GCOV_LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
>
> which should be
>
> + GCOV_CFLAGS="$CFLAGS -O0 -g -fprofile-arcs -ftest-coverage"
> + GCOV_LDFLAG="$LDFLAGS -lgcov"
thanks; I did copy the commit from libgdata, but probably made a copy
and paste thinko.
ciao,
Emmanuele.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]