• Geoff Simmons's avatar
    Add autotool support for generating coverage reports. · 8931b5fd
    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, the make target coverage can be executed:
    - 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
    - genhtml generates HTML reports in src/coverage.