diff options
author | infirit <[email protected]> | 2014-01-03 14:41:52 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-01-03 14:51:53 +0100 |
commit | 326dd32af1ecc9df2013b516f7f8f427a4b6cf5c (patch) | |
tree | 5ebbc06dae4c39cc345ec65106cc92356f4487b5 /macros/mate-autogen | |
parent | da4619a11bf11b4f6c5e15d93ec796aee49916d8 (diff) | |
download | mate-common-326dd32af1ecc9df2013b516f7f8f427a4b6cf5c.tar.bz2 mate-common-326dd32af1ecc9df2013b516f7f8f427a4b6cf5c.tar.xz |
Add code coverage support
Add a MATE_CODE_COVERAGE m4 macro to allow projects to easily add
code
coverage support using lcov. This is heavily based on the code coverage
tooling from GLib (LGPLv2.1+), originally written by Patrick Hulin and
modified by Matthias Clasen, Stef Walter and Simon McVittie since.
Adapted for use in MATE by Sander Sweers.
See GNOME commit:
https://git.gnome.org/browse/gnome-common/commit/?id=493d55921f26ac3a9a3b7cc33756c88daace329e
And follow up commits:
https://git.gnome.org/browse/gnome-common/log/macros2/gnome-code-coverage.m4
Diffstat (limited to 'macros/mate-autogen')
-rw-r--r-- | macros/mate-autogen | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/macros/mate-autogen b/macros/mate-autogen index 5b3a44d..63bf691 100644 --- a/macros/mate-autogen +++ b/macros/mate-autogen @@ -320,6 +320,9 @@ for configure_ac in $configure_files; do grep "^MATE_CXX_WARNINGS" $configure_ac >/dev/null; then require_m4macro mate-compiler-flags.m4 fi + if grep "^MATE_CODE_COVERAGE" $configure_ac >/dev/null; then + require_m4macro mate-code-coverage.m4 + fi done #tell Mandrake autoconf wrapper we want autoconf 2.5x, not 2.13 |