[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] gcov/lcov code coverage of glusterfs
From: |
John Smith |
Subject: |
Re: [Gluster-devel] gcov/lcov code coverage of glusterfs |
Date: |
Fri, 10 May 2013 13:48:05 +0200 |
On Thu, May 9, 2013 at 8:40 PM, John Smith <address@hidden> wrote:
> On Thu, May 9, 2013 at 7:46 PM, Michael Brown <address@hidden> wrote:
>> How are you passing the flags?
>>
> LDFLAGS+='-fprofile-arcs' CFLAGS+='-fprofile-arcs -ftest-coverage' ./configure
>
>
>>
>> I just tried:
>>
>> ./configure --prefix=/usr/local/glusterfs
>> {,GF_FUSE_,GF_GLUSTERFS_,GF_}CFLAGS="-fprofile-arcs -ftest-coverage"
>>
>> and was able to build it fine.
>>
> That works for me, thanks !
>
>
>
> Regards,
>
>
> John Smith
Hrm. Looks like I cheered too soon. The options still do not get
propagated properly on my system. It looks like the only place that
CLAGS get properly set this way, is in "./argp-standalone/Makefile".
All the other generated Makefiles do not contain '*FLAGS =
-fprofile-arcs -ftest-coverage '. LDFLAGS = -fprofile-arcs does get
properly propagated to all the generated makefiles, when I specify
that on the configure line.
I run this command:
./configure --prefix=/usr/local/glusterfs CFLAGS="-fprofile-arcs
-ftest-coverage" GF_FUSE_CFLAGS="-fprofile-arcs -ftest-coverage"
GF_GLUSTERFS_CFLAGS="-fprofile-arcs -ftest-coverage"
GF_CFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS='-fprofile-arcs'
Any ideas what could be going wrong here ?
Regards,
John Smith.
- [Gluster-devel] gcov/lcov code coverage of glusterfs, John Smith, 2013/05/09
- Re: [Gluster-devel] gcov/lcov code coverage of glusterfs, Michael Brown, 2013/05/09
- Re: [Gluster-devel] gcov/lcov code coverage of glusterfs, John Smith, 2013/05/09
- Re: [Gluster-devel] gcov/lcov code coverage of glusterfs,
John Smith <=
- Re: [Gluster-devel] gcov/lcov code coverage of glusterfs, John Smith, 2013/05/10
- Re: [Gluster-devel] gcov/lcov code coverage of glusterfs, Justin Clift, 2013/05/10
- Re: [Gluster-devel] gcov/lcov code coverage of glusterfs, John Smith, 2013/05/10
- Re: [Gluster-devel] gcov/lcov code coverage of glusterfs, Justin Clift, 2013/05/10
- Re: [Gluster-devel] gcov/lcov code coverage of glusterfs, Jeff Darcy, 2013/05/10