[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Coverage in admin/
From: Stephan Kulow <coolo () kde ! org>
Date: 2004-12-02 9:08:15
Message-ID: 200412021008.15830.coolo () kde ! org
[Download RAW message or body]
Am Wednesday 01 December 2004 23:25 schrieb George Staikos:
>
> Could we add something like this to admin/ to make gcov coverage testing a bit
> easier? (read: does anyone object?) I'm using this in kst right now on both
> gcc2.95 and gcc 3.3 and it works well for me.
>
> Maybe my code isn't quite perfect, but you get the idea...
>
> AC_ARG_WITH(coverage,
> AC_HELP_STRING([--with-coverage],[use gcc coverage testing]),
> [
> if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
> ac_coverage_compiler="-g3 -fprofile-arcs -ftest-coverage -O0
> -fno-inline"
> ac_coverage_linker="-lgcc"
> elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
> ac_coverage_compiler="-g3 -fprofile-arcs -ftest-coverage -O0
> -fno-inline"
> ac_coverage_linker=""
gcc 2.95 supported -fprofile-arcs? I think your -g3 and -O0 are wrong, you should
change to require --enable-debug=full to be passed also. Otherwise you're just
copying code.
Greetings, Stephan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic