[patch #8451] Add AX_CODE_COVERAGE macro for lcov code coverage

anonymous <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/patch/?8451>

                 Summary: Add AX_CODE_COVERAGE macro for lcov code coverage
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Sat 10 May 2014 18:15:44 UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: [email protected]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

File attached with a new AX_CODE_COVERAGE macro which contains all the
necessary logic and Makefile rules for instrumenting a project with code
coverage using lcov.

Synopsis:
#   configure.ac:
#      AX_CODE_COVERAGE
#
#   Makefile.am:
#      @CODE_COVERAGE_RULES@
#      my_program_LIBS = … $(CODE_COVERAGE_LDFLAGS) …
#      my_program_CFLAGS = … $(CODE_COVERAGE_CFLAGS) …

Authors:
#   Copyright © 2012, 2014 Philip Withnall
#   Copyright © 2012 Xan Lopez
#   Copyright © 2012 Christian Persch
#   Copyright © 2012 Paolo Borelli
#   Copyright © 2012 Dan Winship

License: LGPLv2.1+

The macro is based off the lcov support in GLib, and was previously the
GNOME_CODE_COVERAGE macro in gnome-common
(https://git.gnome.org/browse/gnome-common/tree/macros2/gnome-code-coverage.m4).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 10 May 2014 18:15:44 UTC  Name: ax_code_coverage.m4  Size: 7kB   By:
None
AX_CODE_COVERAGE
<http://savannah.gnu.org/patch/download.php?file_id=31347>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8451>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.