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 May 10 18:15:44 2014  
Priority: 5 - NormalStatus: Done
Assigned to: Peter Simons <simons>Originator Email: -unavailable-
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sat Sep 13 22:36:49 2014, comment #1:

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

Peter Simons <simons>
Project AdministratorIn charge of this item.
Sat May 10 18:15:44 2014, 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 (7kB - application/x-m4 - New versoin with support for lcov 1.11)
file #31347:  ax_code_coverage.m4 added by None (7kB - 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 Oct 15 09:20:50 2014simonsStatusReady For Test=>Done
    Sat Sep 13 22:36:49 2014simonsStatusNone=>Ready For Test
      Assigned toNone=>simons
    Mon Aug 25 22:48:46 2014drbobAttached File-=>Added ax_code_coverage.m4, #31961
    Sat May 10 18:15:44 2014NoneAttached File-=>Added ax_code_coverage.m4, #31347

    Back to the top

    Powered by Savane 3.1-cleanup1