patchGNU Autoconf Archive - Patches: patch #8451, Add AX_CODE_COVERAGE macro for...


patch #8451: Add AX_CODE_COVERAGE macro for lcov code coverage

Submitter:  None
Submitted:  Sat 10 May 2014 06:15:44 PM UTC
Priority:  5 - Normal Status:  Done
Assigned to:  simons Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Sat 13 Sep 2014 10:36:49 PM UTC, comment #1: 

Pushed in commit eaefa29. Thank you very much for the submission.

Peter Simons <simons>
Group administrator
Sat 10 May 2014 06:15:44 PM UTC, original submission:  

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.

#      my_program_LIBS = … $(CODE_COVERAGE_LDFLAGS) …
#      my_program_CFLAGS = … $(CODE_COVERAGE_CFLAGS) …

#   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 (



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #31961:  ax_code_coverage.m4 added by drbob (7KiB - application/x-m4 - New versoin with support for lcov 1.11)
file #31347:  ax_code_coverage.m4 added by None (7KiB - application/x-m4 - AX_CODE_COVERAGE)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by drbob (Updated the item)
  • -email is unavailable- added by None (Submitted the item)

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-15 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2014-09-13 simons StatusNone Ready For Test
        Assigned toNone simons
    2014-08-25 drbob Attached File- Added ax_code_coverage.m4, #31961
    2014-05-10 None Attached File- Added ax_code_coverage.m4, #31347

    Back to the top

    Powered by Savane 3.13-4e86.
    Corresponding source code