diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-03-23 13:59:53 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-03-23 13:59:53 +0000 |
commit | 6ff29c91dfdbcc3203405da0aca8dbfa318d8b32 (patch) | |
tree | 95d51a85b3ba67763141f82db745a8e2117b4b3a | |
parent | c2a66daf3ac62e3e97f8d7fe16afccf37f413305 (diff) | |
download | pygobject-6ff29c91dfdbcc3203405da0aca8dbfa318d8b32.tar.gz |
build: Do not enable code coverage based on lcov
Code coverage turns on various slow paths and disables optimizations. It
should be, and it usually is, an opt in configuration flag.
Enabling it should not be conditional on the existence of the lcov
binary on the system, otherwise anybody building PyGObject from Git on
any moderately complete development environment will automatically
enable code coverage even when not wanted.
https://bugzilla.gnome.org/show_bug.cgi?id=764075
-rwxr-xr-x | autogen.sh | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -13,17 +13,9 @@ PKG_NAME="pygobject" exit 1 } -if type lcov >/dev/null 2>&1; then - EXTRA_ARGS="--enable-code-coverage" -else - echo "lcov not installed, not enabling code coverage" -fi - - which gnome-autogen.sh || { echo "You need to install gnome-common." exit 1 } -. gnome-autogen.sh "$EXTRA_ARGS" "$@" - +. gnome-autogen.sh "$@" |