• Geoff Simmons's avatar
    Add autotool support for generating coverage reports. · b5303dfa
    Geoff Simmons authored
    configure checks if you have lcov & genhtml; these can be specified
    with --with-lcov and/or --with-genhtml.
    
    If they are available, then make coverage does the following:
    
    - make clean, then make check with CC=gcc and CFLAGS set so that
      inputs for gcov/lcov are generated.
    
    - lcov creates the src/coverage subdir and generates a targetfile
      there.
    
    - genhtml generates HTML reports in src/coverage.
    b5303dfa
Makefile.am 704 Bytes