• Geoff Simmons's avatar
    Add autotool support for generating coverage reports. · 8dbfc85c
    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 & CXX=g++, and CFLAGS &&
      CXXFLAGS 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.
    8dbfc85c
configure.ac 5.15 KB