summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2016-03-23 13:59:53 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2016-03-23 13:59:53 +0000
commit6ff29c91dfdbcc3203405da0aca8dbfa318d8b32 (patch)
tree95d51a85b3ba67763141f82db745a8e2117b4b3a
parentc2a66daf3ac62e3e97f8d7fe16afccf37f413305 (diff)
downloadpygobject-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-xautogen.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/autogen.sh b/autogen.sh
index 3c7605db..f58b0810 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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 "$@"