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


patch #8451: Add AX_CODE_COVERAGE macro for lcov code coverage

Submitted by:  None
Submitted on:  Sat 10 May 2014 06:15:44 PM UTC  
Priority: 5 - NormalStatus: Done
Assigned to: Peter Simons <simons>Originator Email: -unavailable-
Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project AdministratorIn charge of this item.
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 File(s):

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
  • -unavailable- added by simons (Posted a comment)
  • -unavailable- added by drbob (Updated the item)
  • -unavailable- added by None (Submitted the item)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 15 Oct 2014 09:20:50 AM UTCsimonsStatusReady For Test=>Done
    Sat 13 Sep 2014 10:36:49 PM UTCsimonsStatusNone=>Ready For Test
      Assigned toNone=>simons
    Mon 25 Aug 2014 10:48:46 PM UTCdrbobAttached File-=>Added ax_code_coverage.m4, #31961
    Sat 10 May 2014 06:15:44 PM UTCNoneAttached File-=>Added ax_code_coverage.m4, #31347

    Back to the top

    Powered by Savane 3.1-cleanup1