Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (15 sloc) 0.392 kB
#!/bin/bash
set -e
make clean
rm -rf coverage_report
make test CXXFLAGS="-g -fprofile-arcs -ftest-coverage"
gcov lib/*.cpp -o lib/
lcov --directory ./ --capture --output-file lcov_tmp.info -b ./
lcov --extract lcov_tmp.info "$(pwd)/*" --output-file lcov.info
genhtml lcov.info -o coverage_report
rm lib/*.gcda
rm lib/*.gcno
rm test/*.gcda
rm test/*.gcno
rm lcov.info lcov_tmp.info
make clean
Jump to Line
Something went wrong with that request. Please try again.